- Joined
- Sep 21, 2005
- Messages
- 13
well it aint working
Heal
I think the problem is in this line: "Unit - Set life of (Targeted unit) to ((Life of (Targeted unit)) + ((Real(Int[(Player number of (Owner of (Casting unit)))])) x 3.00))
Floating Text - Create floating text that reads (String((Int[(Player number of (Owner of (Triggering unit)))] x 3))) above (Targeted unit)"
and I dont see eny floading text.. what am i doing wrong.?
Int is a intiger array (10)
Heal
Code:
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Heal
Actions
Set Int[(Player number of (Owner of (Casting unit)))] = (Intelligence of (Casting unit) (Include bonuses))
Game - Display to (All players) the text: (String((Int[(Player number of (Owner of (Casting unit)))] x 3)))
Unit - Set life of (Targeted unit) to ((Life of (Targeted unit)) + ((Real(Int[(Player number of (Owner of (Casting unit)))])) x 3.00))
Floating Text - Create floating text that reads (String((Int[(Player number of (Owner of (Triggering unit)))] x 3))) above (Targeted unit) with Z offset 0.00, using font size 8.00, color (0.00%, 100.00%, 100.00%), and 0.00% transparency
Floating Text - Change (Last created floating text): Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
Floating Text - Change the lifespan of (Last created floating text) to 5.00 seconds
I think the problem is in this line: "Unit - Set life of (Targeted unit) to ((Life of (Targeted unit)) + ((Real(Int[(Player number of (Owner of (Casting unit)))])) x 3.00))
Floating Text - Create floating text that reads (String((Int[(Player number of (Owner of (Triggering unit)))] x 3))) above (Targeted unit)"
and I dont see eny floading text.. what am i doing wrong.?
Int is a intiger array (10)