Chaosy
Tutorial Reviewer
- Joined
- Jun 9, 2011
- Messages
- 13,207
Hello. just a quick question.
edit: it seems to work after adding a fading age, is that really needed?
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Triggering unit)) Equal to Peasant
-
Then - Actions
- Floating Text - Create floating text that reads PeasantSays[(Random integer number between 1 and 4)] at (Position of (Triggering unit)) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
- Sound - Play PeasantWhat2 <gen>
- Else - Actions
-
If - Conditions
edit: it seems to work after adding a fading age, is that really needed?