Page MenuHomeFeedback Tracker

Please consider introducing these waypoint/moving related scripting commands..
Acknowledged, WishlistPublic

Description

completedWaypoints <group>

  • Would return an array of waypoints completed by given group.
  • Example: completedWaypoints loongrp; // [[loongrp,0],[loongrp,1]]

currentWaypointWP <unit/group>

  • same as currentWaypoint but would return the actual waypoint and not the index number (never understood why the index number route was selected in the first place)..
  • Example: currentWaypointWP loongrp; // [loongrp,3]

waypointCompleted <waypoint>

  • Would return boolean according to whether given waypoint is completed or not.
  • Example: if (waypointCompleted (currentWaypointWP loongrp)) then {hint "loons are here"};

forceWPComplete <waypoint>

  • for forcing given waypoint to complete.
  • Example: if (((leader playerhuntergrp) targetKnowledge player) select 1) then {playerhuntergrp forceWPComplete (currentWaypointWP loongrp)};

waypointPlacementRadius <waypoint>

  • you can basically get everything else out of waypoints already so why not this one too??

lockedWP <unit/group>

  • for checking if given unit/group has it's waypoint locked with lockWP..
  • Ancient 'set' without a 'get'...
  • Example: if (!(lockedWP loongrp)) then {hint "loons are free!!"};

doStopped <unit>

  • self-explanatory, return boolean whether unit has bee stopped by doStop (or alternatively expand the old stopped command to do this)
  • 'get' for a 'set'...
  • Example: if (doStopped loon1) then {hint "loon has stopped"};

forcedSpeed <unit>

  • for returning speed forced with forceSpeed
  • 'get' for a 'set', people...
  • Example: if (forcedSpeed loon1 == -1) then {loon1 forceSpeed 5};

moveCompleted <vehicle/group> / moveCompleted <[vehicle/group,waypoint]>

  • basically combined moveToCompleted/Failed for determining whether given unit has completed it's move command issued by doMove or commandMove. And maybe even a waypoint (no harm in having two types of command to detect completed waypoint :P )
  • Ideally would return a string, something like: "READY" for succesful move, "FAILED" for failed move (like when AI shouts "Negative!" after realizing it can't get where it was order to go to), "MOVING" if move still in progress.

Details

Legacy ID
2593158350
Severity
None
Resolution
Open
Reproducibility
N/A
Category
Feature Request
Additional Information

Dunno if it's feasible to post several feat requests in one ticket, but....

Event Timeline

h- edited Additional Information. (Show Details)Aug 25 2015, 9:00 AM
h- set Category to Feature Request.
h- set Reproducibility to N/A.
h- set Severity to None.
h- set Resolution to Open.
h- set Legacy ID to 2593158350.May 8 2016, 12:33 PM