Hero Revival

Linear88

New Member
Reaction score
2
I'm trying to do a hero revival using GUI and using custom scripts. I got it from here.

http://world-editor-tutorials.thehelper.net/revive.php

It keeps showing me this error when I enable the trigger:

Revive the hero
1 compile error
Line 242: Invalid argument type (timer)
call ReviveHeroLoc( HeroReviving, GetRectCenter(gg_rct_Revival_Area), true )

I replaced OURHERO with HeroReviving. I can't seem to fix this line.
 

Somatic

You can change this now in User CP.
Reaction score
84
Did you change the custom Script for the initializing of the Variable?

Do this to the start of the trigger instead

Code:
Custom Script : local unit [B]HeroReviving[/B]

and change for the rest of the script, for every "OURHERO", change it with "HeroReviving
 

Linear88

New Member
Reaction score
2
I already did that. I still can't figure out why this still happens. I'll show you a screenshot of the trigger's actions.

revivetheheroactionsimaki5.png
 

Somatic

You can change this now in User CP.
Reaction score
84
You need to change the line from "Call Camera Setup" to the "Call Pan Camera for player" as per what is shown on the site you got it from
 

Linear88

New Member
Reaction score
2
That is also not the problem... There's nothing wrong with that. I just did some modifications on it... I'm just trying to fix that line:

call ReviveHeroLoc( HeroReviving, GetRectCenter(gg_rct_Revival_Area), true )
 

Linear88

New Member
Reaction score
2
@Somatic: It is. Never mind, the problem's fixed now.

Thanks for the help, emotootoo!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top