SetPlotActionCooldown

From Dragon Age Toolset Wiki
Jump to: navigation, search

Set a cooldown for the indicated plot action. When the cooldown is finished an Event sporting the indicated event ID & the PlotActionID (in Integer argument 0) will be fired to the specified location)

void SetPlotActionCooldown(
int nPlotActionId,
float fCooldownTime,
int nEventID,
object oObject,
string scriptname = ""
);
Parameters:
nPlotActionId
[Undocumented]
fCooldownTime
[Undocumented]
nEventID
The ID of the Even fired back to script when the cooldown has completed. This event will have an Integer[0] value identifying the PlotActionID that has finished cooling down
oObject
The object to signal the event to
scriptname
If specified overides the default script
Returns:

Nothing.

Source:

script.ldf