CommandUseAbility
This page was generated by Sunjammer's Dragon Age Script Parser.
The parser was unable to extract and/or match all the information required and has flagged this page as containing one or more errors. The source file was not formatted correctly and the information presented is incomplete or incorrect.
This page must be reviewed by a knowledgeable scripter as it will need to be updated. Once identified, the issue in the source file should be reported to BioWare.
Please remove the {{Generated with errors}} tag once the page has been corrected.
This function is a "use ability" command constructor.
int nAbilityId,
object oTarget = OBJECT_INVALID,
vector vTarget = [0.0,0.0,0.0],
float nConjureTime = -1.0,
string sAbilitySourceItemTag = ""
);
- Parameters:
- nAbilityId
- The ability to perform
- oTarget
- (optional) Object to perform the ability on
- vTarget
- (optional) ground target location to perform the ability on
- nConjureTime
- (optional) sets the conjure time of the ability
- sAbilitySourceItemTag
- [Undocumented]
- Returns:
- a valid command
- Source:
- script.ldf
Description
This function is a "use ability" command constructor. It creates a "use ability" command which can then be added to any object's command queue. This command, when processed will cause the object to use the ability if they're able