Darkstar Communication Blizzforums v3.5  
Portal


Go Back   BlizzForums > Archived Forums > SC Map & Custom Development

SC Map & Custom Development Learn and Discuss the Building of Battlegrounds for the Award Winning RTS Here!

 
 
Thread Tools Display Modes

Old 05-02-2009
#1
 
Canada missilX
So cash
Space Invaders Champion, Magic Ball Champion, Pacman Champion, Ms Pacman Champion, Super Mario Rampage 2 Champion, Run N Gun Champion
Join Date: Dec 2003
Posts: 9,294
missilX is a model citizenmissilX is a model citizenmissilX is a model citizen


missilX's Avatar
Default Disable Locations?

Can you disable locations. For example:

Trigger 1

Condition:

Player 1 brings 1 marine to location 1.
Player 1 brings 1 marine to location 2.
Player 1 brings 1 marine to location 3.
Player 1 brings 1 marine to location 4.

Action:

Create 1 wraith at location A
Create 1 wraith at location B
Create 1 wraith at location C
Create 1 wraith at location D


Trigger 2:

Condition:

Player 1 brings 1 marine to location 2.
Player 1 brings 1 marine to location 3.
Player 1 brings 1 marine to location 4.
Player 1 brings 1 marine to location 5.

Action:

Create 1 wraith at location B
Create 1 wraith at location C
Create 1 wraith at location D
Create 1 wraith at location E

Trigger 3


Condition:

Player 1 brings 1 marine to location 3.
Player 1 brings 1 marine to location 4.
Player 1 brings 1 marine to location 5.
Player 1 brings 1 marine to location 6.

Action:

Create 1 wraith at location C
Create 1 wraith at location D
Create 1 wraith at location E
Create 1 wraith at location F

Trigger 4


Condition:

Player 1 brings 1 marine to location 4.
Player 1 brings 1 marine to location 5.
Player 1 brings 1 marine to location 6.
Player 1 brings 1 marine to location 7.

Action:

Create 1 wraith at location D
Create 1 wraith at location E
Create 1 wraith at location F
Create 1 wraith at location G

Trigger 5


Condition:

Player 1 brings 1 marine to location 5.
Player 1 brings 1 marine to location 6.
Player 1 brings 1 marine to location 7.
Player 1 brings 1 marine to location 8.

Action:

Create 1 wraith at location E
Create 1 wraith at location F
Create 1 wraith at location G
Create 1 wraith at location H


Triggers continue in this pattern..etc.etc.


My problem:

So basically because player 1 will have more than 8 marines, they could stack some areas because when they do trigger 1 it creates wraiths at location A,B,C,D and if they do trigger 2 after, they create units at B,C,D,E. Stacking B C and D. So how do I make it if they do trigger 1, it disables location 1,2,3,4 so that they cannot do trigger 2,3,4.


sigline


See His Advertisement!

Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
hi

4
missilX is offline
pm.gif Share with Facebook

Old 05-02-2009
#2
 
BlizzForums spinesheath
Trigger Mathemagician
Join Date: Jun 2006
Location: Munich, Germany
Posts: 1,488
spinesheath doesn't suck


spinesheath's Avatar
Default Re: Disable Locations?

I am not entirely sure if I understood what you want, but I here's a suggestion:

So basically you only want 1 of all these triggers to work at a time? Then add this condition:
Switch 1 is cleared
to all the triggers, always the same switch. Then add an action:
Set Switch 1
to all triggers.

Basically this only lets you execute one of all these triggers.
I don't see any preserved triggers, so this might already be it. If you actually want to execute those triggers several times, you should add another trigger that clears Switch 1 again. For example if there are no marines on either location. Or just with the condition "Always", depending on what you want to happen.


So much about my suggestion, now about "disabling" locations. You can't really do that, but you can do something similar (which I wouldn't suggest because it is more complex and probably unnecessary.
There is the "Move Location" Action (Or maybe it's called "Center Location", I always mix them up). Basically you move the Locations away on a spot of water or whatever, somewhere your marines can't get to. But you'd also need a location to move to and possibly loactions for moving the old ones back.
By the way, that action centers a location on a unit in another location. If you choose "center location A on X owned by Y at location B"
With X being a unit that is not in location B and will never be, like a overmind or whatever and/or Y being a player that has no units in location B, for example a player that is not in the game,
then Location A will be placed in the center of location B.


sigline
spinesheath is offline
pm.gif Send a message via ICQ to spinesheath Send a message via Skype™ to spinesheath Share with Facebook

Old 05-02-2009
#3
 
United States roegi
BF Member
Join Date: Jul 2008
Posts: 259
roegi doesn't suck


Default Re: Disable Locations?

If you're trying to get them to preserve trigger, you can try this (repeat the triggers for all the locations):

Triggers 1-5:
Condition:
Player 1 brings 1 marine to location 1.
Player 1 brings 1 marine to location 2.
Player 1 brings 1 marine to location 3.
Player 1 brings 1 marine to location 4.
Action:
Set Switch 1
Set Switch 2
Set Switch 3
Set Switch 4

Triggers 6-13:
Condition:
Switch 1 is set
Action:
Create 1 Wraith at Location A
Clear Switch 1
roegi is offline
pm.gif Share with Facebook

Old 05-02-2009
#4
 
Canada missilX
So cash
Space Invaders Champion, Magic Ball Champion, Pacman Champion, Ms Pacman Champion, Super Mario Rampage 2 Champion, Run N Gun Champion
Join Date: Dec 2003
Posts: 9,294
missilX is a model citizenmissilX is a model citizenmissilX is a model citizen


missilX's Avatar
Default Re: Disable Locations?

I figured out a way around it, instead of using a wraith I am using a building, so if the player attempts to stack, it will just be unplaceable and its their loss. Thanks for the suggestions though!


sigline


See His Advertisement!

Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
hi

4
missilX is offline
pm.gif Share with Facebook

Old 05-02-2009
#5
 
United States roegi
BF Member
Join Date: Jul 2008
Posts: 259
roegi doesn't suck


Default Re: Disable Locations?

But that gives bothersome unplaceable errors ;[
roegi is offline
pm.gif Share with Facebook

Old 05-03-2009
#6
 
Canada missilX
So cash
Space Invaders Champion, Magic Ball Champion, Pacman Champion, Ms Pacman Champion, Super Mario Rampage 2 Champion, Run N Gun Champion
Join Date: Dec 2003
Posts: 9,294
missilX is a model citizenmissilX is a model citizenmissilX is a model citizen


missilX's Avatar
Default Re: Disable Locations?

Well thats their fault lol.


sigline


See His Advertisement!

Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
Hidden Content:
hi

4
missilX is offline
pm.gif Share with Facebook
 

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

Forum Jump



All times are GMT -5. The time now is 07:11 PM.
vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
BlizzForums is hosted by DarkStar Communications, home to high quality Ventrilo Servers.
Contact Us - BlizzForums - Archive - Privacy Statement - Top