• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Get your art tools and paintbrushes ready and enter Hive's 34th Texturing Contest: Void! Click here to enter!

[JASS] I need help

Status
Not open for further replies.
Level 17
Joined
Apr 27, 2008
Messages
2,455
call ReviveHeroLoc(OURHERO, GetRectCenter(GetPlayerStartLoc), true )

whats the problem I can't seem to fix it.

well, you call an unexistent function,you forgot () and the player argument :
JASS:
call ReviveHeroLoc(OURHERO, GetRectCenter(GetPlayerStartLocation(<yourPlayer>)), true )
you leak with a location, but btw you should use this instead :
JASS:
native          ReviveHero          takes unit whichHero, real x, real y, boolean doEyecandy returns boolean
 
Status
Not open for further replies.
Top