BIS fnc markWaypoints: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \|s1= <!-- ([^ ]+); --> \}\}" to " |s1= <!-- $1 --> |r1= |x1= <!-- <code>$1;</code> --> |seealso= }} ") |
Lou Montana (talk | contribs) m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?(call|spawn) \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>") |
||
Line 30: | Line 30: | ||
|r1= | |r1= | ||
|x1= <!-- < | |x1= <!-- <sqf>[] call BIS_fnc_markWaypoints;</sqf> --> | ||
|seealso= | |seealso= | ||
}} | }} |
Latest revision as of 13:09, 5 May 2022
Description
- Description:
/* Description: Creates a marker on each uncompleted waypoint and marks it checked after completing that WP. Note: "On Activation" WP code is used for handling the markers; if this code is overwritten during the course, it can break this functionality Parameter(s): _this select 0: OBJECT - unit who will have its waypoints marked _this select 1 (Optional, use "" for default): STRING - text of hint shown after completing a waypoint, %1 is used for WP number (default "") _this select 2 (Optional, use [] for default): ARRAY of STRINGS - marker text format for [uncompleted, completed] waypoints, %1 is used for WP number (default ["%1", "%1"]) _this select 3 (Optional, use [] for default): ARRAY of STRINGS - marker icon for [uncompleted, completed] waypoints (default ["mil_circle", "mil_circle"]) _this select 4 (Optional, use [] for default): ARRAY of STRINGS - marker color for [uncompleted, completed] waypoints (default ["ColorRed", "ColorGreen"]) _this select 5 (Optional, use [] for default): ARRAY of NUMBERS - marker size for [uncompleted, completed] waypoints (default [0.75, 0.75]) Returns: NOTHING */
- Execution:
- call
- Groups:
- Map and Markers
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Examples:
- Example needed
Additional Information
- See also:
- See also needed
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