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

[Trigger] -Repick Trigger Help

Status
Not open for further replies.
Level 1
Joined
Mar 27, 2008
Messages
2
Hey, New the community having a lot of fun with my first map...anyways I was just wondering if its possible to create a -repick trigger that includes a way to keep the heros levels. Thanks in Advance!


P.s I do have a working repick trigger at the moment, I just dont know how to get the hero to keep his levels
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
store it in an integer variable
like set RepickLevel[player number of triggering player] = Level of his hero
when it pickes again
set its level to RepickLevel of owning player
...

Welcome to hive
 
Status
Not open for further replies.
Top