taskDestination: Difference between revisions
Jump to navigation
Jump to search
m (see also) |
m (example & return value) |
||
Line 12: | Line 12: | ||
| '''taskDestination''' task |= Syntax | | '''taskDestination''' task |= Syntax | ||
|p1= task: [[Task]] | |p1= task: [[Task]] |= PARAMETER1 | ||
|p2= |= PARAMETER2 | |p2= |= PARAMETER2 | ||
Line 18: | Line 18: | ||
|p3= |= PARAMETER3 | |p3= |= PARAMETER3 | ||
| [[Array]] |= RETURNVALUE | | [[Array]] (A3 1.28 Returns [[Nothing]] if identity is [[taskNull]]) |= RETURNVALUE | ||
|x1= <code>( | |x1= <code>[[if]] (![[isNull]] [[currentTask]] [[player]]) [[then]] {[[taskDestination]] [[currentTask]][[ player]]}; //return [[Position]] ([[Array]])</code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 15:58, 5 September 2014
Description
- Description:
- Returns the position of the task (as specified by destination parameter in config).
- Groups:
- Uncategorised
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 currentTaskplayer}; //return Position (Array)
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note