- Joined
- Jul 29, 2007
- Messages
- 5,174
Guys I made this 2 triggers and none work.
Can you tell me why or/and make me ones instead ?
TRIGGER 1
CastingTarget is a unit
SECOND TRIGGER
Please help me
Can you tell me why or/and make me ones instead ?

TRIGGER 1
-
Casting
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-

Actions
-


Set CastingTarget = (Target unit of ability being cast)
-


If ((Ability being cast) Equal to Fire Ball (Neutral Hostile)) then do (Unit - Set life of CastingTarget to ((Life of CastingTarget) - (Real(HeroIntelligence[(HeroIntelligence[1] x 2)])))) else do (Do nothing)
-
-
-
Int
-

Events
-


Time - Every 0.01 seconds of game time
-
-

Conditions
-

Actions
-


Set HeroIntelligence[1] = (Intelligence of Hero[1] (Include bonuses))
-
-
CastingTarget is a unit
SECOND TRIGGER
-
Detect Unit
-

Events
-


Unit - A unit Is attacked
-
-

Conditions
-

Actions
-


Trigger - Add to Show Damages <gen> the event (Unit - (Triggering unit) Takes damage)
-
-
-
Show Damages
-

Events
-

Conditions
-

Actions
-


Set loc = (Position of (Triggering unit))
-


Floating Text - Create floating text that reads (String((Integer((Damage taken))))) at loc with Z offset 0.00, using font size 6.00, color (50.00%, 50.00%, 50.00%), and 80.00% transparency
-


Floating Text - Change (Last created floating text): Disable permanence
-


Floating Text - Set the velocity of (Last created floating text) to 15.00 towards 90.00 degrees
-


Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
-


Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
-
-
Please help me




)

