Difference between revisions of "SetEventResource"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(fix missing parameter description, add a see-also)
 
Line 1: Line 1:
{{Generated with errors}}
 
 
{{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 == -->
+
== 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.

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