Difference between revisions of "ObjectType:event"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 26: Line 26:
 
[[Category:LavishScript]]
 
[[Category:LavishScript]]
 
[[Category:LavishScript Object Types]]
 
[[Category:LavishScript Object Types]]
 +
[[Category:LavishScript Events]]

Revision as of 15:01, 8 July 2018

Description

Members

  • int ID: ID number of the event (used by modules)
  • string Name: Name of the event

Methods

  • Clear: Forcefully detach all atoms and C functions from this event
  • AttachAtom[name]: Attach an atom to this event
  • DetachAtom[name]: Detach an atom from this event
  • Execute[...]: Execute this event, optionally with any number of parameters
  • ThisExecute[object,...]: Execute this event in the context of a given object, optionally with any number of parameters
  • Unregister: Unregister this event

Returns

Same as Name

Examples

Operates On

  • CLSEvent * (internal datatype)

See Also