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