HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Skill Learn

11-10-2007, 08:23 AM#1
ChaoX
Would it be passible to make a unit to learn an abilityi he holds an item for about 2min but if he drops before 2mins is up he doesnt learn the ability?
11-11-2007, 12:40 AM#2
Pyrogasm
Yes. Detect when the unit gets the item and start a countdown timer that will expire in 2 minutes. Then, create a new trigger that detect when that item is dropped. If it's dropped, stop the countdown timer.

Finally, make a third trigger that will detect when the countdown timer expires. In that trigger's actions, add the ability to the unit and disable the second trigger.
11-14-2007, 10:29 AM#3
ChaoX
I was trying to create the trigger you said and i think it would be an easier,please tell what you think of it
11-15-2007, 06:47 AM#4
Pyrogasm
Well, I suppose that would work too... but I just like timers myself.