taskDestination: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
| (19 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2 | |game1= arma2 | ||
|version1= 1.00 | |||
|game2= arma2oa | |||
|version2= 1.50 | |||
|game3= tkoh | |||
|version3= 1.00 | |||
|game4= arma3 | |||
|version4= 0.50 | |||
|gr1= Briefing | |gr1= Briefing | ||
| | |descr= Returns the position of the task (as specified by destination parameter in config). | ||
| | |s1= [[taskDestination]] task | ||
|p1= task: [[Task]] | |p1= task: [[Task]] | ||
| [[Array]] (A3 1.28 Returns [[Nothing]] if identity is [[taskNull]]) | |r1= [[Array]] (A3 1.28 Returns [[Nothing]] if identity is [[taskNull]]) | ||
|x1= < | |x1= <sqf>if (!isNull currentTask player) then {taskDestination currentTask[[ player]]}; //return Position (Array)</sqf> | ||
|seealso= [[cancelSimpleTaskDestination]] | |seealso= [[cancelSimpleTaskDestination]] [[setSimpleTaskDestination]] | ||
}} | }} | ||
Revision as of 10:25, 13 May 2022
Description
- Description:
- Returns the position of the task (as specified by destination parameter in config).
- Groups:
- Briefing
Syntax
- Syntax:
- taskDestination task
- Parameters:
- task: Task
- Return Value:
- Array (A3 1.28 Returns Nothing if identity is taskNull)
Examples
- Example 1:
- if (!isNull currentTask player) then {taskDestination currentTask[[ player]]}; //return Position (Array)
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note