Start location command on costom scripts

Gev

Well-Known Member
Reaction score
25
call ReviveHeroLoc(OURHERO, GetRectCenter(GetPlayableMapRect()), true )

i know that this mean tha center of playable map are. Now i need player start location to be sellected, but dont know how is
right to write "getplayerstart" or "getstart". How is that command?
 

Gev

Well-Known Member
Reaction score
25
what if i just change call ReviveHeroLoc(OURHERO, GetRectCenter(GetPlayableMapRect()), true ) to call ReviveHeroLoc(OURHERO, GetRectCenter(GetPlayerStartLocation()), true ) ?
 

Gev

Well-Known Member
Reaction score
25
my trigger is costom triger not juss... and i have no knowledg in juss, just some costom string commands.
 

Dirac

22710180
Reaction score
147
GetRectCenter() reffers to regions, and the start location is a point. I think all the posts above me leak, since they use a location and don't remove it. I wouldn't really know since i only work with X,Y coordinates
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top