GetEventTarget

From Dragon Age Toolset Wiki
Jump to: navigation, search

Returns the target of a specific event.

object GetEventTarget(
event evEvent
);
Parameters:
evEvent
The event to get the target from
Returns:

Returns the target of the specified event, returns an invalid object on error.

Source:

script.ldf

Description

Returns the intended target object of a specific event. It should be noted that this function should only be used with listener events as in other cases the target may not be specified correctly.