Reviving Heros with items!?!?

dead-manakin

New Member
Reaction score
5
I am making now, a Arena like game where you must level up your character and your allies but I need help with one specific part. I cant figure out how to revive a hero with his/her items that they had before death.:banghead:

This is my code:

-Events()
Unit, a unit owned by player1(red) dies.
-Conditions
Unit is a Hero equal to true.
-Actions
Create Unit(type of triggering unit) At center of (001 region).
Set hero Xp to Xp(of triggering unit).
 

dead-manakin

New Member
Reaction score
5
Dont worry, i know. Btw I just tried that and it sed that I cant choose "triggering unit" it has to be specific...
 

Sjaakje

New Member
Reaction score
9
Make a unit variable called TempUnit
Then use Set Triggering unit is TempUnit
Then make the action into Hero - Revive TempUnit

Unit variables don't leak, so don't worry about that.
 

dead-manakin

New Member
Reaction score
5
I just tried that and I cant get TempUnit to be set as "triggering Unit". Could you tell me how to? pls

NVM!!! After looking more closely I saw it!!
 

mapguy

New Member
Reaction score
46
man.

click in the unit
then scroll down until you see event response - triggering unit
 

dead-manakin

New Member
Reaction score
5
The first 2 posts I made, before I learned about the editing system, where double posts, 5 people said it was bad...
TY 4 HELP:thup:
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top