Difference between revisions of "SetEventResource"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
BryanDerksen (Talk | contribs) (fix missing parameter description, add a see-also) |
||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=SetEventResource | |name=SetEventResource | ||
Line 11: | Line 10: | ||
|param3type=resource | |param3type=resource | ||
|param3name=rValue | |param3name=rValue | ||
− | |param3desc= | + | |param3desc=The value of the resource to set |
|returntype=event | |returntype=event | ||
|returndesc=Returns the modified event, returns an invalid event on error. | |returndesc=Returns the modified event, returns an invalid event on error. | ||
Line 29: | Line 28: | ||
<!-- This section contains examples transcluded from the snippet library. --> | <!-- This section contains examples transcluded from the snippet library. --> | ||
− | + | == See also == | |
<!-- This section contains links to articles, functions or constant groups. --> | <!-- This section contains links to articles, functions or constant groups. --> | ||
+ | [[GetEventResource]] | ||
[[Category: Event functions]] | [[Category: Event functions]] |
Latest revision as of 21:11, 31 July 2009
Sets the specified resource on the event.
- 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.