Help with hero revival?

iMephiles

New Member
Reaction score
0
With the line for where the hero revives I put:
call ReviveHeroLoc(OURHERO, GetRectCenter(GetTeam1HeroSpawnReviveRect()), true )
It says:
Line 116: Expected a name
What do I need to change?
 

Laiev

Hey Listen!!
Reaction score
188
you forget to copy the variable OURHERO to your map, search in other trigger and you'll find

I know this system, is coolie :p
 

iMephiles

New Member
Reaction score
0
you forget to copy the variable OURHERO to your map, search in other trigger and you'll find

I know this system, is coolie :p

Where is it missing in that line?
I tried putting it in the empty ()'s... but that didn't work.
 

Laiev

Hey Listen!!
Reaction score
188
Based on image of that site, where's the line which you say?

that use GetPlayableMapRect() and your use a custom

also don't double post
 

iMephiles

New Member
Reaction score
0
Based on image of that site, where's the line which you say?

that use GetPlayableMapRect() and your use a custom

also don't double post

It's the 3rd one going up from the bottom, the one that says "Revive at center of map"

I tried getting rid of all of that and adding my custom one, didn't work.
Do I have to add <gen> in there somewhere? When I use it for other(not custom scripts) triggers it has <gen> at the end of all my triggers.

I'll keep that in mind xP
 

iMephiles

New Member
Reaction score
0
Didn't work...
Now i looks like:
call ReviveHeroLoc(OURHERO, GetRectCenter(gg_rct_GetTeam1HeroSpawnReviveRect()), true )
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top