RequestTarget
From Dragon Age Toolset Wiki
Put the game into target request mode. If the user selects a target (or if a valid target is already available) the specified event will be fired back to scripting.
void RequestTarget(
int nTargetType,
float fAOEParamater1,
float fAOEParamater2,
int eventID,
object oObject,
string scriptname = ""
);
int nTargetType,
float fAOEParamater1,
float fAOEParamater2,
int eventID,
object oObject,
string scriptname = ""
);
- Parameters:
- nTargetType
- The type of target to request (Target types are defined inside targettype.xls). Hostile: 4, AoE: 16
- fAOEParamater1
- This is used to specify the radius of a circular AoE. It should be zero if you only wish to target single objects
- fAOEParamater2
- (This parameter is NOT CURRENTLY USED and should be 0.0)
- eventID
- [Undocumented]
- oObject
- The object to signal the event to
- scriptname
- If specified overides the default script
- Returns:
- Nothing.
- Source:
- script.ldf