|
发表于 2006-4-11 19:50:35
|
显示全部楼层
[trigger]
All Unit Damage Initialization
Events
Map initialization
Conditions
Actions
Custom script: call DestroyTrigger(GetTriggeringTrigger())
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Trigger - Add to All Unit Damage Trigger <gen> the event (Unit - (Picked unit) Takes damage))
[/trigger]
[trigger]
All Unit Damage Add
Events
Unit - A unit enters (Entire map)
Conditions
Actions
Trigger - Add to All Unit Damage Trigger <gen> the event (Unit - (Entering unit) Takes damage)
[/trigger]
[trigger]
All Unit Damage Trigger
Events
Conditions
(Integer((Damage taken))) Greater than 0
Actions
Floating Text - Create floating text that reads (String(Integer(Damage taken))) above (Damage source) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
Floating Text - Change (Last created floating text): Disable permanence
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.50 seconds
[/trigger]
用T做不就好了...连魔法伤害都会显示...也会显示溅射和屏弹攻击的伤害...
......
[ 本帖最后由 NeoYang 于 2006-4-11 19:58 编辑 ] |
|