Wiki News Account creation no longer requires administrator approval - edits are still moderated, however.

GetEventResult

From Zandronum Wiki
Jump to navigation Jump to search
Zandronum SkulltagOverlay.png Warning: This feature is Zandronum specific and may not supported by ZDoom and its other child ports!
Documentation may not be accurate, see ACS Functions.

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