ExecuteTrigger
From Spheriki
Runs a trigger at the given map coordinates.
Contents |
Usage
- 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
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.
See also
- IsTriggerAt()
- MapEngine()