(Formerly known as RunObjectInteraction, which is now obsolete)
Object.RunInteraction(CursorMode)
Runs the event handler as if the player had clicked the mouse
on the object in the current room, using the specified cursor mode.
Example:
object[3].RunInteraction(eModeInteract);
will execute the code defined in object 3's "Interact with object" event handler.
See Also: ProcessClick,
Character.RunInteraction,
Hotspot.RunInteraction
|