HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Lever Animation Change

01-31-2006, 02:50 AM#1
Immoralis
how do u make a trigger so the Destructable "Lever" plays its death version when you attack it and it displays the text "LC". Please post trigger.
01-31-2006, 05:59 AM#2
PCPharaoh
Trigger:
Melee Initialization
Collapse Events
Destructible - Lever 001 dies
Conditions
Collapse Actions
Destructible - Resurrect (Dying destructible) with (Max life of (Dying destructible)) life and Hide birth animation
Floating Text - Create floating text that reads LC at (Position of (Dying destructible)) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
If you want to have it on attack, and not on death... I'm not sure what you could do. Possibly a periodic event that checks if the lever has less life then max? Or just give the lever 1 hp, and make it resurrect every time it dies.
01-31-2006, 01:10 PM#3
Jacek
If it will be few levers, you can easily use Takes Damage as event.
01-31-2006, 07:25 PM#4
johnfn
Or you could do a loop and add each destructable to the trigger as an event. That would be the best I think because then you wouldn't have to worry about anything, all you'd have to do is put the lever down.