• 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.

[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