SetEventResource

From Dragon Age Toolset Wiki
Revision as of 21:11, 31 July 2009 by BryanDerksen (Talk | contribs) (fix missing parameter description, add a see-also)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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