GetEventResult: Difference between revisions
(Added page for GetEventResult.) |
DrinkyBird (talk | contribs) Tag: Source edit |
||
Line 1: | Line 1: | ||
{{ACSWarning}} | {{ACSWarning}} | ||
{{DevfeatureWarning|version=3.2|type=an [[ACS]] function}} | |||
int '''GetEventResult''' (void) {{Devfeature|3.2|alpha}} | int '''GetEventResult''' (void) {{Devfeature|3.2|alpha}} |
Latest revision as of 22:33, 2 January 2023
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports. |
This article documents an ACS function which is only available in development builds of Zandronum 3.2 and newer. |
int GetEventResult (void) (development version 3.2-alpha and above only)
Usage
Returns the current result value of whatever event is currently being handled. This is only compatible with the following event types: GAMEEVENT_CHAT, GAMEEVENT_ACTOR_DAMAGED, and GAMEEVENT_ACTOR_ARMORDAMAGED.
Return value
Returns the result value of the current event. If used in a non-EVENT script or when the event type isn't any of the ones listed above, this will always return 1.
Examples
This article lists no examples, please add one. |
See also
- EVENT scripts (Event handling)