taskDestination: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
| (30 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{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 | ||
| Returns the position of the task (as specified by destination parameter in config). | |descr= Returns the position of the task (as specified by destination parameter in config). | ||
| | |s1= [[taskDestination]] task | ||
|p1= task: [[Task]] | |p1= task: [[Task]] | ||
| | |r1= [[Array]] (A3 1.28 Returns [[Nothing]] if identity is [[taskNull]]) | ||
| | |x1= <sqf>if (!isNull currentTask player) then {taskDestination currentTask[[ player]]}; //return Position (Array)</sqf> | ||
| | |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