Original War Support Bug Tracker
star_faded.png
Please log in to bookmark issues
feature_request_small.png
OPEN  Feature request #395  -  Add a SAIL command "StickAreaToUnit(area,unit)"
Posted Aug 26, 2017 - updated Aug 30, 2017
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
Issue details
  • Type of issue
    Feature request
  • Status
     
    New
  • Assigned to
    Not assigned to anyone
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Nao
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Time spent
    No time spent
  • Category
    Not determined
  • Priority
    Not determined
  • Targetted for
    icon_milestones.png Not determined
Issue description
Add the possibility to stick an area to any unit so we don't have to code something complicated instead.

What we want to avoid:

  1. every 0$1 do begin
  1. MoveAreaXY(name_of_area,GetX(id_unit),GetY(id_unit));
  1. end;


It moves with the unit.

#1
Comment posted by
 Gravitr
Aug 30, 19:43
Um, why avoid creating your own function for a specific map? This is something what is barely used thereafter to put it into default SAIL functions.