ExecuteTrigger
From Spheriki
Runs a trigger at the given map coordinates.
Contents |
[edit]
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.
[edit]
Examples
See the example for IsTriggerAt().
[edit]
Notes
- At the time of writing, the
layerparameter 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.
[edit]
See also
- IsTriggerAt()
- MapEngine()

