ExecuteTrigger

From Spheriki

Jump to: navigation, search

Runs a trigger at the given map coordinates.


Contents

Usage

ExecuteTrigger(x, y, layer);
  • x number. The pixel X coordinate of the trigger to run.
  • y number. The pixel Y coordinate of the trigger to run.
  • layer number, non-negative. The map layer of the trigger to run.


Examples

See the example for IsTriggerAt().


Notes

  • At the time of writing, the layer parameter is ignored, though it must still be valid.
  • Though triggers are laid down on tiles, it is important to realize that this function operates in pixel coordinates.


See also

Personal tools