• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Preventing Exp Gain for Heroes Inside Burrow

Status
Not open for further replies.
Level 4
Joined
Apr 16, 2008
Messages
80
I had a problem earlier of enabling exp gain from building kills (figured that out as an option in the gameplay constants)...but one problem that arose for me is that my hero STILL gains exp while inside a burrow. I don't want that to happen. Is there a way I can prevent this? Even if I could change the gameplay constants with triggers, that wouldn't help since gameplay constants affect EVERYONE in the game....

EDIT:
Ok, I managed to do this by setting the EXP rate of the hero when entering the burrow to ZERO, and when exiting the burrow, set back to 100%. I didn't know you could change exp rates/values via triggers :) lol

Do NOT double-post. Use the Edit Post button.
Thread has been solved by the thread creator.
~Posts Merged
~Thread Closed
 
Last edited by a moderator:
Status
Not open for further replies.
Top