I've been looking for a sort of time elapsed condition for a trigger like this
Event: Player 1 leaves the game
Condition: Time elapsed = 1 minute or more
Display game message bla bla bla
where can i find a condition like this (integer, Boolean) or is it even possibe
Time Condition
Forum rules
Before making a new topic:
First, check if your question has already been answered in the Tutorials section.
If you didn't find a solution, use the search function.
If searching didn't help either, you can make a new topic.
Topic title & content:
You must use a descriptive title. (Help plz is not good) (Need help with Dialog buttons is good)
Go into much detail when posting. You should post attachments. Like screenshots of the problem, the map you are making, replays of the error. Or you could even make a screencast (video) of your problem and upload it here.
Spelling:
Grammar seems to be a serious problem amongst teenagers, so use a spell checker or you will get no love.
Read your posts twice, before pressing the reply button.
And do not use profanity. Chatspeak (y r u nub) and Leetspeak (1 C4N S33 H4X) are not welcome here either.
Only World Editor related questions are allowed here!
(Click for Battle.net help) (Click for World Editor help)
Before making a new topic:
First, check if your question has already been answered in the Tutorials section.
If you didn't find a solution, use the search function.
If searching didn't help either, you can make a new topic.
Topic title & content:
You must use a descriptive title. (Help plz is not good) (Need help with Dialog buttons is good)
Go into much detail when posting. You should post attachments. Like screenshots of the problem, the map you are making, replays of the error. Or you could even make a screencast (video) of your problem and upload it here.
Spelling:
Grammar seems to be a serious problem amongst teenagers, so use a spell checker or you will get no love.
Read your posts twice, before pressing the reply button.
And do not use profanity. Chatspeak (y r u nub) and Leetspeak (1 C4N S33 H4X) are not welcome here either.
Only World Editor related questions are allowed here!
(Click for Battle.net help) (Click for World Editor help)
- OrcSlayer101
- Posts: 82
- Joined: Thu Mar 25, 2010 6:09 pm
- Realm: US East
- Account: ShadowBlades
- Clan: TvN
Time Condition
The Of Orcs...
- 3ICE
- Admin
- Posts: 2629
- Joined: Sat Mar 01, 2008 11:34 pm
- Realm: Europe
- Account: 3ICE
- Clan: 3ICE
- Location: Hungary
- Contact:
Re: Time Condition
No such condition, I will give you two possible workarounds.
Since you didn't post your trigger's name I will call it "trigger x".
This workaround is elegant and is reusable for multiple triggers:
Step 1: Create a boolean variable: Time_elapsed_equals_1_minute_or_more (a shorter name would be better of course).
Step 2: Create a new trigger with event: Elapsed game time is 1 minute.
Step 3: Add the "Set variable Time_elapsed_equals_1_minute_or_more = true" action to the new trigger.
Step 4: Add the condition "Time_elapsed_equals_1_minute_or_more equals true" to your trigger x.
Ugly hack, usable once only per trigger:
Step 1: Trigger x starts off disabled.
Step 2: Create a new trigger with event: Elapsed game time is 1 minute.
Step 3: Add the "Enable trigger x" action to the new trigger.
Send 5$ to paypal@3ice.hu if you like my solution.
Since you didn't post your trigger's name I will call it "trigger x".
This workaround is elegant and is reusable for multiple triggers:
Step 1: Create a boolean variable: Time_elapsed_equals_1_minute_or_more (a shorter name would be better of course).
Step 2: Create a new trigger with event: Elapsed game time is 1 minute.
Step 3: Add the "Set variable Time_elapsed_equals_1_minute_or_more = true" action to the new trigger.
Step 4: Add the condition "Time_elapsed_equals_1_minute_or_more equals true" to your trigger x.
Ugly hack, usable once only per trigger:
Step 1: Trigger x starts off disabled.
Step 2: Create a new trigger with event: Elapsed game time is 1 minute.
Step 3: Add the "Enable trigger x" action to the new trigger.
Send 5$ to paypal@3ice.hu if you like my solution.
- OrcSlayer101
- Posts: 82
- Joined: Thu Mar 25, 2010 6:09 pm
- Realm: US East
- Account: ShadowBlades
- Clan: TvN
Re: Time Condition
Lol thanks. The first solution works great. I was thinking of doing something like that but was hoping there was a easier way.
Oh and sorry but at the moment my life savings have only adeed up to 2 cents. Ill get back to you in a couple thousand years
Oh and sorry but at the moment my life savings have only adeed up to 2 cents. Ill get back to you in a couple thousand years
The Of Orcs...
- 3ICE
- Admin
- Posts: 2629
- Joined: Sat Mar 01, 2008 11:34 pm
- Realm: Europe
- Account: 3ICE
- Clan: 3ICE
- Location: Hungary
- Contact:
Re: Time Condition
Then recruit more people to join. Only if you feel like doing it, I'm not forcing anything.
p.s.: How about 5000 years? Haha, I'll hold you to it.
p.s.: How about 5000 years? Haha, I'll hold you to it.
Who is online
Users browsing this forum: No registered users and 493 guests