• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] A noob question -.- sorry

Status
Not open for further replies.
Level 3
Joined
Feb 17, 2009
Messages
30
First of all sorry for my noob question and my horrible english
i want to know with this code:
call ReviveHeroLoc(OURHERO, GetRectCenter(GetPlayableMapRect()), true )
what i need to change to except in center of the map, go to center of a region called "reviviralianza" and then another that go to "revivir hordas"

Please help me!:confused:
 
Level 4
Joined
Oct 8, 2007
Messages
26
Not sure why you're even using regions. Just use the coordinates of the center of the region, unless the region moves to prevent very bad things from happening.

JASS:
call ReviveHero(OURHERO, x, y, true )

Will work I think. Not gonna bother to look up the function atm.
 
Status
Not open for further replies.
Top