x4pointproductions.freeforum.ca

x4Point Productions - StarCraft Map Making And Modding Community
It is currently Mon Nov 28, 2022 2:22 pm

All times are UTC - 4 hours




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Enter your Message here
 Post subject: Wait Blocks
PostPosted: Tue Jun 09, 2009 9:42 pm 
Moderator - Danimoth
Moderator - Danimoth
User avatar

Joined: Sat May 23, 2009 2:09 pm
Posts: 270
Okay I know I must've asked this a thousand times. Can somebody explain to me how I use "Death Triggers" or whatever they are.

P.S. Part of this is to make a bound, I've opened a few Bounds and I see "Switch" triggers, if you teach me those that'd work too.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Tue Jun 09, 2009 9:57 pm 
Site Admin - Hyperion Captain
Site Admin - Hyperion Captain
User avatar

Joined: Sat May 23, 2009 9:51 am
Posts: 218
Location: Toronto, Canada
Death Counter waits are a system of utilizing the Deaths condition and the Set Deaths action to make a wait. While best used with triggers that constantly repeat, they can also be used in place of normal waits.

See the following triggers:

Players:
    I'll use Player 1 as an example.
Conditions:
    Always.
Actions:
    Modify deaths for Player 1: Subtract 1 for unit.
    Preserve trigger.

Players:
    Same player.
Conditions:
    Player 1 has suffered at most 0 deaths of unit.
Actions:
    Modify deaths for Player 1: Set to 120 for unit.
    Display for current player: "You'll see this every ten seconds!"

What this does is constantly subtract 1 from a death counter. When that counter reaches zero, it is reset to 120, and a text message is displayed. Once the counter is reset, it once again begins to count down from 120, back to 0. If you have hyper triggers, it will take exactly 10 seconds for the counter to reach zero. Replace the 'Display text' action above with whatever action you want to run.

And that's how it works! Some tips:
    Make sure that the unit you are using for your death counter can't actually be killed in your map. Use an unused unit, such as Jump Gate, or Independent Command Center.
    12 Death Counters = 1 second, real time, on Fastest speed.


Top
 Profile E-mail  
 
 Post subject: Re: Wait Blocks
PostPosted: Wed Jun 10, 2009 1:04 pm 
Moderator - Danimoth
Moderator - Danimoth
User avatar

Joined: Sat May 23, 2009 2:09 pm
Posts: 270
K thanks, how do I use switches?


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Wed Jun 10, 2009 1:04 pm 
Site Admin - Hyperion Captain
Site Admin - Hyperion Captain
User avatar

Joined: Sat May 23, 2009 9:51 am
Posts: 218
Location: Toronto, Canada
Switches are basically a counter that can only hold two values, Yes/No.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Wed Jun 10, 2009 1:15 pm 
Moderator - Danimoth
Moderator - Danimoth
User avatar

Joined: Sat May 23, 2009 2:09 pm
Posts: 270
But how do I set them?


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Wed Jun 10, 2009 1:16 pm 
Site Admin - Hyperion Captain
Site Admin - Hyperion Captain
User avatar

Joined: Sat May 23, 2009 9:51 am
Posts: 218
Location: Toronto, Canada
Use the Set Switch trigger action.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Wed Jun 10, 2009 1:17 pm 
Moderator - Danimoth
Moderator - Danimoth
User avatar

Joined: Sat May 23, 2009 2:09 pm
Posts: 270
Sigh... Okay thanks.


Top
 Profile E-mail  
 
 Post subject: Topic Locked
PostPosted: Mon Jun 22, 2009 1:13 am 
Site Admin - Hyperion Captain
Site Admin - Hyperion Captain
User avatar

Joined: Sat May 23, 2009 9:51 am
Posts: 218
Location: Toronto, Canada
Topic served its purpose. Locked.


Top
 Profile E-mail  
 
Display posts from previous:   Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC - 4 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Silver Star by BigB © 2007 AEON KINGS
Hosted by Freeforum.ca, get your free forum now! TOS | Support Forums | Report a violation
MultiForums powered by echoPHP phpBB MultiForums