// first user enter scripts are tied to the field instance public MapScript(string sScriptName, string sScriptContents, CField field, WvsGameClient client) : base(sScriptName, sScriptContents, client) { Context = new MapScriptContext(this); IsFirstUserEnterScript = true; Field = field; }
// normal field scripts (not FUE) are tied to the client instance public MapScript(string sScriptName, string sScriptContents, WvsGameClient client) : base(sScriptName, sScriptContents, client) { Context = new MapScriptContext(this); IsFirstUserEnterScript = false; Field = client.Character.Field; }