boosting a stat only for a short while?

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
uggardian
Posts: 75
Joined: Sat May 19, 2012 5:53 pm

boosting a stat only for a short while?

Post by uggardian »

Hi,
It's been some time from modding, so I'm a bit rusty :)
I would like to make a consumable item that boosts one stat (in this case, evasion) for a short while. So the boost should wear off after a set number of seconds.
What would be the most elegant way of doing this?
I quess one way would be that the item increases the stat and starts a timer that triggers a function that reduses the stat, but I believe there could be a smarter way to achieve this...
Help! :D
Post Reply