You must be logged in to post messages.
Please login or register

Grey Havens (World Builder & Game Mods)
Moderated by Sir Hugh, Blatant

Hop to:    
Welcome! You are not logged in. Please Login or Register.1 reply
Battle for Middle Earth II Heaven » Forums » Grey Havens (World Builder & Game Mods) » How to create a timer? URGENT
Bottom
Topic Subject:How to create a timer? URGENT
Kentucky
Dúnadan
posted 12-17-12 05:05 PM EDT (US)         
Hi,

How do I go about at created a timer in world builder? I want X amount of units to spawn at location X (I know how to do this) within X amount of seconds.

Can I have an example layout of the script which I'd have to learn from.

Also, how would I make the timer appear in the top corner?

Thanks in advance.
AuthorReplies:
KaiserWilhelm
Dúnadan
posted 01-07-13 10:21 PM EDT (US)     1 / 1       
1) Open the Scripts tab
2)Select the team or player which you want this timer to affect (basically who do you want the troops to go to).
3)Set the Conditions to if true (the default)
4) The conditions should be Scripting/Timer/Set countdown timer

(This is to establish the timer. Now for what happens when it hits zero)

5) Now, create a new script in for the same team.
6) For your conditions, go to scripting/timer/Timer Expired.
7) To spawn units, in the "If True" tab, go to "Units (structures Included) -- other"/ "spawn"/ "spawn unit unnamed unit at on team at waypoint"

This should do what you want.
You must be logged in to post messages.
Please login or register

Hop to:    

Battle for Middle Earth II Heaven | HeavenGames