HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

looking for help with item trigger

07-24-2003, 04:34 AM#1
noobelite
Basically I want so that when a hero picks up an item called "mask of chaos" and the game time is during the day, then they get damaged for one point every second and a special effect is created on the unit. This is what i have so far and i have tried a few variations but i cannot get it to work. Any help would be appriciated. Thanks.

---trigger 1---
-events
A unit acquires an item

-conditions
Mask of Chaos Equal to (Item-type of (Item being manipulated))

-actions
add hero manipulating item to Xunitgroup

--trigger 2--
-events-
time - every 1 second of game time

-conditions
all conditions are true:
in-game time of day less then or equal to 18.00
in-game time of day greater then or equal to 6.00

-actions
pick every unit in Xunitgroup and do (unit set life of (picked unit) to ((life of picked unit)) - 1))
create a special effect attached to the overhead of (picked unit) using "Doodads\Cinematic\FireRockSmall\FireRockSmall"
07-24-2003, 03:09 PM#2
noobelite
nevermind i fixed how it does damage but i still cant seem to find a working path for firesmall does anyone know it?
07-24-2003, 03:13 PM#3
DaKaN
in the TFT editor, goto the Object editor, then doodads, find the fire you want, and it should have the model path in one of the fields for you to copy and paste to yr sfx. Note that most doodads have a looping stand animation (meaning you create the effect it will NOT go away on its own) you would have to destroy it manually.
07-24-2003, 03:33 PM#4
LordAllout
Quote:
"Doodads\Cinematic\FireRockSmall\FireRockSmall"


You forgot the .mdl part
07-24-2003, 03:34 PM#5
DaKaN
heh, I did not even notice the .mdx missing
07-24-2003, 03:52 PM#6
noobelite
err nm i fixed it thnaks for all your help
07-24-2003, 04:26 PM#7
Telperion01
Create the special effect when the unit picks up the item, it will play it's stand animation until the unit dies. Did that work?