Waypoints: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix ArmA 2 → Arma 2 link) |
Lou Montana (talk | contribs) m (Add Waypoint types link) |
||
Line 1: | Line 1: | ||
{{SideTOC}} | {{SideTOC}} | ||
[[Waypoints]] are a group's successive destination/task indicator (see [[ | [[Waypoints]] are a group's successive destination/task indicator (see [[Waypoint types]] for a list of available types). They are represented as an [[Array]] in [[Waypoint]] format [group, index]. | ||
Since '''[[{{arma2}}]]''' waypoints for players were mostly replaced by [[Task]]s; since '''[[{{arma3}}]]''' the [[Arma 3 Task Framework|Task Framework]] allows for an easy usage of them. | Since '''[[{{arma2}}]]''' waypoints for players were mostly replaced by [[Task]]s; since '''[[{{arma3}}]]''' the [[Arma 3 Task Framework|Task Framework]] allows for an easy usage of them. | ||
Line 23: | Line 23: | ||
* [[Waypoint]] | * [[Waypoint]] | ||
* [[Waypoint types]] | |||
* [[:Category:Command Group: Waypoints|Waypoints Commands]] | * [[:Category:Command Group: Waypoints|Waypoints Commands]] | ||
* [[:Category:Function Group: Waypoints|Waypoints Functions]] | * [[:Category:Function Group: Waypoints|Waypoints Functions]] |
Revision as of 11:15, 26 June 2020
Template:SideTOC Waypoints are a group's successive destination/task indicator (see Waypoint types for a list of available types). They are represented as an Array in Waypoint format [group, index].
Since Arma 2 waypoints for players were mostly replaced by Tasks; since Arma 3 the Task Framework allows for an easy usage of them.
Usage
Condition
The Condition is Code that determines whether the waypoint is completed.
Its value is evaluated locally and unscheduled on the group owner's machine and must return a Boolean.
OnActivation
The OnActivation is Code that is executed on Condition's completion.