EVENT MOVEEFFECTORS: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Doom64hunter (talk | contribs) mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
EVENT_MOVEEFFECTORS is a [[EDuke32_event_list|Game Event]]. | {{EventTable|1=EVENT_MOVEEFFECTORS|2=closest player to sprite|3=current effector|4=1 value}} | ||
'''EVENT_MOVEEFFECTORS''' is a [[EDuke32_event_list|Game Event]]. | |||
This [[event]] is triggered for each sector effector | This [[event]] is triggered once per tic for each sector effector present in a map (i.e. sprites with [[statnum|STAT_EFFECTOR]]). | ||
[[THISACTOR]] is the | [[THISACTOR]] is set to the current effector spriteNum, while the current player is chosen as the one closest to the current effector. | ||
Contrary to what the name implies, this event is not only invoked for each sector-movement-based effector, but all of them. | |||
Set [[RETURN]] to a non-zero value to cancel the hardcoded behavior of the sector effector. | |||
See also: [[Sector Effector Reference Guide]] | |||
[[Category:Events]] |
Latest revision as of 08:09, 5 February 2022
Event ID | player# | THISACTOR | RETURN | |
---|---|---|---|---|
EVENT_MOVEEFFECTORS | closest player to sprite | current effector | 1 value |
EVENT_MOVEEFFECTORS is a Game Event.
This event is triggered once per tic for each sector effector present in a map (i.e. sprites with STAT_EFFECTOR).
THISACTOR is set to the current effector spriteNum, while the current player is chosen as the one closest to the current effector.
Contrary to what the name implies, this event is not only invoked for each sector-movement-based effector, but all of them.
Set RETURN to a non-zero value to cancel the hardcoded behavior of the sector effector.
See also: Sector Effector Reference Guide