Register for free, and make this box disappear!

Welcome to the BF Forums! Register Now, It's Free!


Welcome to the BF Forums; your source for the latest video game news, strategies, discussions, and resources. Join over 66,000 like-minded gamers to chat about your interests in our community.

You are currently viewing the forums as a guest user, which limits your access to certain content, contests, downloads, and more. By joining our free community, you will be able to respond in discussions/articles, contact members privately (PM), participate in regular-scheduled contests, see less advertisements, and have access to many other features. Registration is quick, easy, and completely free.



Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
BattleForums.com Forums > StarCraft > Starcraft General > Starcraft Maps and Modifications

We're Half-Way There!! - BF Lotto: $50 Ebay or Amazon Gift Card - A Single Click is All It Takes...

Reply
 
Thread Tools Display Modes
Old 11-19-2004, 05:31 AM   #1 (permalink)
BattleForums Junior Member
 
Join Date: Nov 2004
Age: 19
Posts: 27
Newbie Quiestion

How do i make a trigger to play every 3 minutes forever? i can get it to do it over and over again but not for 3 minutes like i want it to do.
SeekDestroy16 is offline   Reply With Quote
Beitrag Sponsored Links

__________________
Ads suck! Take 2 minutes to register for your free account, and GET RID OF THESE ADS!
Old 11-19-2004, 08:05 PM   #2 (permalink)
lol just as planned
 
Wing Zero's Avatar
 
Join Date: Oct 2002
Location: Philly
Posts: 11,861
wait for uh i think 18000
__________________
The Lost World of ThorneStar: DiabloCraft Racing: Rock N' Roll Edition CONFIRMED with Bloom and Brown

CLICK ON US IF U LIEK MUDKIPZ


  _  ∩ 卐
( ゜∀゜)彡 Oppai! Oppai! Starcraft 2!!
  ⊂彡[
Wing Zero is offline   Reply With Quote
Old 11-19-2004, 09:45 PM   #3 (permalink)
BattleForums Senior Member
 
Lwek's Avatar
 
Join Date: May 2003
Age: 19
Posts: 4,494
The easiest way to do it is to wait 180000 millieseconds.
1000 millieseconds = 1 second.
3 minutes = 180 seconds.
180000 = 180 seconds.

EX:
PLAYERS
-
CONDITIONS
-
ACTIONS
-
-
-
-Wait 180000 millieseconds.
-Preserve Trigger.
Lwek is offline   Reply With Quote
Old 11-20-2004, 12:18 AM   #4 (permalink)
BattleForums Junior Member
 
Join Date: Nov 2004
Age: 19
Posts: 27
I want to play a wav sound every 3 minutes, but it isnt 3 minutes long. this is how i did it and it didnt work.

PLAYERS: ALL PLAYERS

CONDITIONS: ALWAYS

ACTIONS: PLAY WAV: SOUND.WAV
WAIT FOR 180000 MILLISECONDS
PRESERVE TRIGGER
SeekDestroy16 is offline   Reply With Quote
Old 11-20-2004, 02:46 AM   #5 (permalink)
BattleForums Senior Member
 
Lwek's Avatar
 
Join Date: May 2003
Age: 19
Posts: 4,494
Could you post the map so I can take a look at it?
Click 'Manage Attachments' after you clicked on 'Post Reply' at the bottom of this thread.
Lwek is offline   Reply With Quote
Old 11-20-2004, 03:16 AM   #6 (permalink)
lol just as planned
 
Wing Zero's Avatar
 
Join Date: Oct 2002
Location: Philly
Posts: 11,861
what i recalled u cant have waits or sumething
__________________
The Lost World of ThorneStar: DiabloCraft Racing: Rock N' Roll Edition CONFIRMED with Bloom and Brown

CLICK ON US IF U LIEK MUDKIPZ


  _  ∩ 卐
( ゜∀゜)彡 Oppai! Oppai! Starcraft 2!!
  ⊂彡[
Wing Zero is offline   Reply With Quote
Old 11-20-2004, 10:56 PM   #7 (permalink)
BattleForums Junior Member
 
Join Date: Nov 2004
Age: 19
Posts: 27
it is only a play around map, im just experimenting my trigger abilities with it. look in all players at the very bottom.
Attached Files
File Type: scx FAST BUILD HUNTERS!!! v1.5.scx copy.scx (134.4 KB, 2 views)
SeekDestroy16 is offline   Reply With Quote
Old 11-21-2004, 03:46 AM   #8 (permalink)
BattleForums Senior Member
 
Lwek's Avatar
 
Join Date: May 2003
Age: 19
Posts: 4,494
Quote:
Originally Posted by SeekDestroy16
it is only a play around map, im just experimenting my trigger abilities with it. look in all players at the very bottom.
First off, I just want to state that any settings you make(triggers, brief, unit settings, etc) to a map does not apply to any games other than UMS typed maps.

The problem I see is the condition.
When you have a condition "Elapsed game scenario is atleast 180 seconds", it means that none of the actions will fire until 180 seconds into the game.
You had it fine the way before:
Quote:
Originally Posted by SeekDestroy16

PLAYERS: ALL PLAYERS

CONDITIONS: ALWAYS

ACTIONS: PLAY WAV: SOUND.WAV
WAIT FOR 180000 MILLISECONDS
PRESERVE TRIGGER
Lwek is offline   Reply With Quote
Old 11-21-2004, 08:39 AM   #9 (permalink)
BattleForums Junior Member
 
Join Date: Nov 2004
Age: 19
Posts: 27
thats the problem, for some reason it wont always work on the trigger you suggested. or maybe i need to turn the sound up? i dont know. maybe its a MAC problem.
SeekDestroy16 is offline   Reply With Quote
Old 11-23-2004, 12:09 AM   #10 (permalink)
BattleForums Senior Member
 
Lwek's Avatar
 
Join Date: May 2003
Age: 19
Posts: 4,494
A problem with a wait trigger is that it interferes with other wait triggers. I didn't want to have to explain that but I guess I have to do some explaining.
The trigger under 'All Players' is the same thing as have the trigger under 'Players 1 - 8'
If you have a wait action, it stops the trigger for X amount of millieseconds. During that time, the game checks through every other trigger before continuing on. That can interfere with other wait triggers.
So if you have a wait trigger under 'All Players', you're having a wait trigger under 'Players 1 - 8' which can interfere with all wait triggers.


Another way to do it if you understand this way:
PLAYERS
-
CONDITIONS
-Always
ACTIONS
-Set 'Switch 1'.
-Wait 180000 millieseconds.
-Preserve trigger.

PLAYERS
-
CONDITIONS
-'Switch 1' is set.
ACTIONS
-Player Wav: Lwek is the Best.wav
-Clear 'Switch 1'.
-Preserve Trigger.
Lwek is offline   Reply With Quote
Old 11-23-2004, 11:42 PM   #11 (permalink)
BattleForums Junior Member
 
Join Date: Nov 2004
Age: 19
Posts: 27
ohhh ok. makes sense, ty
SeekDestroy16 is offline   Reply With Quote
Old 12-02-2004, 09:52 PM   #12 (permalink)
BattleForums Senior Member
 
Bolt Head's Avatar
 
Join Date: May 2003
Posts: 1,194
Quote:
Originally Posted by Lwek
A problem with a wait trigger is that it interferes with other wait triggers. I didn't want to have to explain that but I guess I have to do some explaining.
The trigger under 'All Players' is the same thing as have the trigger under 'Players 1 - 8'
If you have a wait action, it stops the trigger for X amount of millieseconds. During that time, the game checks through every other trigger before continuing on. That can interfere with other wait triggers.
So if you have a wait trigger under 'All Players', you're having a wait trigger under 'Players 1 - 8' which can interfere with all wait triggers.


Another way to do it if you understand this way:
PLAYERS
-
CONDITIONS
-Always
ACTIONS
-Set 'Switch 1'.
-Wait 180000 millieseconds.
-Preserve trigger.

PLAYERS
-
CONDITIONS
-'Switch 1' is set.
ACTIONS
-Player Wav: Lwek is the Best.wav
-Clear 'Switch 1'.
-Preserve Trigger.
That trigger only works for one player.
Bolt Head is offline   Reply With Quote
 
Reply

Get rid of all these ads! Take 30 seconds to register.

« Starforge Sprites? | Map Help: Winning map trigger »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT +1. The time now is 01:27 PM.



Powered by vBulletin® Version 3.7.2 | Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0