| 07-07-2004, 10:10 PM | #1 |
Ok, I have everything down but when the name tags appear, when I tell it to destroy the floating text that should follow your character, it stays behind sometimes! And also I would like to make it as smooth as to not flicker. How could I do this? >.> Code:
P1 Tag Start
Events
Player - Player 1 (Red)'s Food used becomes Greater than or equal to 1.00
Conditions
Actions
Set Unit[1] = (Random unit from (Units in (Playable map area) owned by Player 1 (Red)))
Set NameTag[1] = (Last created floating text)
Trigger - Turn on P1 Tag <gen>
P1 Tag Stop
Events
Player - Player 1 (Red)'s Food used becomes Less than or equal to 0.00
Conditions
Actions
Floating Text - Destroy NameTag[1]
Trigger - Turn off P1 Tag <gen>
P1 Tag
Events
Time - Every 0.05 seconds of game time
Conditions
Actions
Floating Text - Destroy NameTag[1]
Wait 0.03 seconds
Floating Text - Create floating text that reads (Name of Player 1 (Red)) at (Position of Unit[1]) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Set NameTag[1] = (Last created floating text) |
| 07-08-2004, 12:11 AM | #2 |
Code:
P1 Tag Start
Events
Player - Player 1 (Red)'s Food used becomes Greater than or equal to 1.00
Conditions
Actions
Set Unit[1] = (Random unit from (Units in (Playable map area) owned by Player 1 (Red)))
[color=Red] Set NameTag[1] = (Last created floating text) you did this already in P1 Tag, take it out. If that doesnt work swith this with Trigger - Turn on P1 Tag <gen> and u should be good [/color]
Trigger - Turn on P1 Tag <gen>
P1 Tag Stop
Events
Player - Player 1 (Red)'s Food used becomes Less than or equal to 0.00
Conditions
Actions
Floating Text - Destroy NameTag[1]
Trigger - Turn off P1 Tag <gen>
P1 Tag
Events
Time - Every 0.05 seconds of game time
Conditions
Actions
Floating Text - Destroy NameTag[1]
Wait 0.03 seconds
Floating Text - Create floating text that reads (Name of Player 1 (Red)) at (Position of Unit[1]) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Set NameTag[1] = (Last created floating text) |
