You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Entity convenience functions to convert between HSCRIPT instances and entity indices without manual handle management:
ScriptHandle.GetEntity - gets an entity index from a table/scope value
ScriptContext.GetArgEntity - gets an entity index from a callback argument
ScriptContext.SetReturnEntity - sets a callback return value to an entity's script instance
ScriptCall.GetReturnEntity - gets an entity index from a call return value
EHANDLE field type (ScriptField_EHandle) for reading entity handle values from VScript
Format string support for VScript_Run (e.g. VScript_Run("DoStuff(%d)", value))
Format string support for ScriptContext.RaiseException (e.g. ctx.RaiseException("Bad arg: %d", arg))
Deprecated
ScriptHandle.GetNextKey in favor of ScriptIterator. GetNextKey only exposes keys, not values, and value retrieval via ScriptHandle.Get* does not work for arrays.