SetEventResource

From Dragon Age Toolset Wiki
Jump to: navigation, search

Sets the specified resource on the event.

event SetEventResource(
event evEvent,
int nIndex,
resource rValue
);
Parameters:
evEvent
The event to set the resource on
nIndex
The index of the resource to set
rValue
The value of the resource to set
Returns:

Returns the modified event, returns an invalid event on error.

Source:

script.ldf

Description

Sets the specified resource on the event.

Remarks

It should be noted that there is no maximum number of values on an event, as the array of values on the event expands as needed.


See also

GetEventResource