GetEventResult

From Zandronum Wiki
Revision as of 14:31, 22 August 2022 by AKMDM (talk | contribs) (Added page for GetEventResult.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports.

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