Go Back   BWHacks > StarCraft > Mods & Maps

Mods & Maps All aspects of modding and map making for Starcraft.

Reply
 
LinkBack Thread Tools

Old 08-27-2008, 07:42 AM   #1 (permalink)
Sharpestx
Banned

Deviant
 
Join Date: Aug 2006
Location: singapore
Posts: 97
Sharpestx is an unknown quantity at this point
Default trigger makeing

Hi I want to make a trigger that when a player kill 1 unit then they will get 1 gas but I do not want to put kill at least 1 at most 1 or exactly 1 because nuclear can kill 1 kill 2 kill 3 in 1 shot so if I put kill at least 1 then when player kill more than 1 they also receive 1 gas then if I put exactly 1 then if player kill 2 and above unit no gas will be given and if I put at most 1 then when player kill 2 unit and above they also receive nothing so what must I put in the trigger?
Sharpestx 15 0FF11|\|3   Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links


Old 08-27-2008, 01:36 PM   #2 (permalink)
Degausser
Love me gently with a chainsaw
Administrator

Crusader
 
Degausser's Avatar
 
Join Date: Jul 2007
Location: Michigan
Posts: 3,809
Degausser is a name known to allDegausser is a name known to allDegausser is a name known to allDegausser is a name known to allDegausser is a name known to all
Send a message via AIM to Degausser Send a message via MSN to Degausser Send a message via Skype™ to Degausser
Default

__________________
=

Degausser 15 0|\|11|\|3 |\|0\/\/   Reply With Quote

Old 08-27-2008, 01:47 PM   #3 (permalink)
HARD_ON

Inquisitor
 
HARD_ON's Avatar
 
Join Date: Apr 2005
Location: 33°46'N - 84°25'W
Posts: 4,440
HARD_ON is a name known to allHARD_ON is a name known to allHARD_ON is a name known to allHARD_ON is a name known to all
Send a message via ICQ to HARD_ON Send a message via AIM to HARD_ON Send a message via MSN to HARD_ON Send a message via Yahoo to HARD_ON Send a message via Skype™ to HARD_ON
Default

If you put "kill-at most-1", it will give the player 1 gas regardless of if he kills more than one unit.
You will have to make several tiggers than just one, which will be a pain if it's a lot of units. All of your triggers will have to use "Exactly 1 kill".

Make the first saying "If player# kills exactly 1 unit then give player# 1 gas".
Make a second trigger saying "If player# kills exactly 2 units then give player# 2 gas".
Make a third trigger saying "If player# kills exactly 3 units then give player# 3 gas".
You want to also preserve the trigger if you want to keep it working after the first time.

One more thing; link.
Seriously, don't post again without reading that whole page.
__________________
"Roses are red, Violets are blue, I'll **** you with a rake."
Quote:
Originally Posted by Degausser View Post
tomato, tomato.
Why are we living for?

Last edited by HARD_ON : 08-27-2008 at 02:00 PM.
HARD_ON 15 0FF11|\|3   Reply With Quote

Old 08-27-2008, 07:32 PM   #4 (permalink)
Sharpestx
Banned

Deviant
 
Join Date: Aug 2006
Location: singapore
Posts: 97
Sharpestx is an unknown quantity at this point
Default

ya and preserved is another problem like the trigger u stated above if you preserved it then when player kill let say 1 unit then because u preserved the trigger so the player gas will continuously increase by 1
Sharpestx 15 0FF11|\|3   Reply With Quote

Old 08-27-2008, 07:51 PM   #5 (permalink)
Sharpestx
Banned

Deviant
 
Join Date: Aug 2006
Location: singapore
Posts: 97
Sharpestx is an unknown quantity at this point
Default

maybe this trigger cannot be done
Sharpestx 15 0FF11|\|3   Reply With Quote

Old 08-28-2008, 02:11 PM   #6 (permalink)
Sharpestx
Banned

Deviant
 
Join Date: Aug 2006
Location: singapore
Posts: 97
Sharpestx is an unknown quantity at this point
Default

Quote:
Originally Posted by HARD_ON View Post
If you put "kill-at most-1", it will give the player 1 gas regardless of if he kills more than one unit.
You will have to make several tiggers than just one, which will be a pain if it's a lot of units. All of your triggers will have to use "Exactly 1 kill".

Make the first saying "If player# kills exactly 1 unit then give player# 1 gas".
Make a second trigger saying "If player# kills exactly 2 units then give player# 2 gas".
Make a third trigger saying "If player# kills exactly 3 units then give player# 3 gas".
You want to also preserve the trigger if you want to keep it working after the first time.
don't post again without reading that whole page
One more thing; link.
Seriously, .
don't talk about learning english cuz this is not an english learning forum if u can understand then that is.
And why the hell do u say don't post again without reading that whole page of course I have read so I post
i have set the trigger u stated before I came to ask so I am telling you the trigger u sated above CAN'T WORK understand? link
Sharpestx 15 0FF11|\|3   Reply With Quote

Old 08-28-2008, 04:17 PM   #7 (permalink)
Khamul

Disciple
 
Khamul's Avatar
 
Join Date: Apr 2008
Location: Canada
Posts: 403
Khamul is on a distinguished road
Default

Quote:
Originally Posted by HARD_ON View Post
If you put "kill-at most-1", it will give the player 1 gas regardless of if he kills more than one unit.
You will have to make several tiggers than just one, which will be a pain if it's a lot of units. All of your triggers will have to use "Exactly 1 kill".

Make the first saying "If player# kills exactly 1 unit then give player# 1 gas".
Make a second trigger saying "If player# kills exactly 2 units then give player# 2 gas".
Make a third trigger saying "If player# kills exactly 3 units then give player# 3 gas".
You want to also preserve the trigger if you want to keep it working after the first time.

One more thing; link.
Seriously, don't post again without reading that whole page.
This obviously won't work because kills don't repeat itself from 1 to 3.
I've learned from experience. You need to use Hyper Triggers.

Example:

Players:

Player 1

Conditions
Player 1 kills at most 0 unit(s) (Can be any unit).

Actions
Modify Resources for Player 1 Add 1 gas.
Wait 0 milliseconds (x60) (Copy 0 milliseconds 60 times).
Preserve Trigger

In Actions, you can have a max of 64, best to use 60 waits and the preserve. Copy that trigger 60 times.

Also I'm not throwing away from where you got it, I just posted my theory.

Edited; Mistakes.
__________________

You have your experiences, I have mine.


Last edited by Khamul : 08-28-2008 at 04:26 PM.
Khamul 15 0FF11|\|3   Reply With Quote

Old 08-28-2008, 10:36 PM   #8 (permalink)
nano351
Banned

Evangelist
 
Join Date: Dec 2007
Location: Pennsylvania
Posts: 1,181
nano351 is a jewel in the rough
Send a message via ICQ to nano351 Send a message via AIM to nano351 Send a message via MSN to nano351 Send a message via Yahoo to nano351 Send a message via Skype™ to nano351
Default

Quote:
Originally Posted by Khamul View Post
This obviously won't work because kills don't repeat itself from 1 to 3.
I've learned from experience. You need to use Hyper Triggers.

Example:

Players:

Player 1

Conditions
Player 1 kills at most 0 unit(s) (Can be any unit).

Actions
Modify Resources for Player 1 Add 1 gas.
Wait 0 milliseconds (x60) (Copy 0 milliseconds 60 times).
Preserve Trigger

In Actions, you can have a max of 64, best to use 60 waits and the preserve. Copy that trigger 60 times.

Also I'm not throwing away from where you got it, I just posted my theory.

Edited; Mistakes.
that's just going to give player 1 lots of gas until he kills a unit. Then he'll stop getting gas...
nano351 15 0FF11|\|3   Reply With Quote

Old 08-29-2008, 02:12 PM   #9 (permalink)
Sharpestx
Banned

Deviant
 
Join Date: Aug 2006
Location: singapore
Posts: 97
Sharpestx is an unknown quantity at this point
Default

Quote:
Originally Posted by Khamul View Post
This obviously won't work because kills don't repeat itself from 1 to 3.
I've learned from experience. You need to use Hyper Triggers.

Example:

Players:
Player 1

Conditions
Player 1 kills at most 0 unit(s) (Can be any unit).

Actions
Modify Resources for Player 1 Add 1 gas.
Wait 0 milliseconds (x60) (Copy 0 milliseconds 60 times).
Preserve Trigger

In Actions, you can have a max of 64, best to use 60 waits and the preserve. Copy that trigger 60 times.

Also I'm not throwing away from where you got it, I just posted my theory.

Edited; Mistakes.
But what is the reason for copy the 0 milisecond action for 60 times?
is that a code or what because I have open up a map and view the trigger and it is also the same like what you say just that the action is not milisecond it is comment the person copy the display comment action alot of times but when I open the comment and I saw that the comment was Text Here
so what is the reason for copying the action for 60 times?
Sharpestx 15 0FF11|\|3   Reply With Quote

Old 08-29-2008, 04:19 PM   #10 (permalink)
HARD_ON

Inquisitor
 
HARD_ON's Avatar
 
Join Date: Apr 2005
Location: 33°46'N - 84°25'W
Posts: 4,440
HARD_ON is a name known to allHARD_ON is a name known to allHARD_ON is a name known to allHARD_ON is a name known to all
Send a message via ICQ to HARD_ON Send a message via AIM to HARD_ON Send a message via MSN to HARD_ON Send a message via Yahoo to HARD_ON Send a message via Skype™ to HARD_ON
Default

Quote:
Originally Posted by Sharpestx View Post
don't talk about learning english cuz this is not an english learning forum if u can understand then that is.
And why the hell do u say don't post again without reading that whole page of course I have read so I post
i have set the trigger u stated before I came to ask so I am telling you the trigger u sated above CAN'T WORK understand? link
Quote:
Originally Posted by Perma
#1.5 While we understand that not all members are fluent in English, please make your post as coherent as possible. There is no rush to make a post, so make it clear to the best of your ability.
__________________
"Roses are red, Violets are blue, I'll **** you with a rake."
Quote:
Originally Posted by Degausser View Post
tomato, tomato.
Why are we living for?
HARD_ON 15 0FF11|\|3   Reply With Quote

Old 08-29-2008, 07:28 PM   #11 (permalink)
cala4
bored
Gold Member

Evangelist
 
cala4's Avatar
 
Join Date: May 2007
Location: united states
Posts: 1,054
cala4 is a jewel in the rough
Send a message via MSN to cala4
Default

Quote:
Originally Posted by Sharpestx View Post
Hi I want to make a trigger that when a player kill 1 unit then they will get 1 gas but I do not want to put kill at least 1 at most 1 or exactly 1 because nuclear can kill 1 kill 2 kill 3 in 1 shot so if I put kill at least 1 then when player kill more than 1 they also receive 1 gas then if I put exactly 1 then if player kill 2 and above unit no gas will be given and if I put at most 1 then when player kill 2 unit and above they also receive nothing so what must I put in the trigger?
That sentence was amazingly long, for future reference use the period key.

Also, HARD_ON is correct I believe.
__________________
cala4 15 0FF11|\|3   Reply With Quote

Old 08-29-2008, 08:08 PM   #12 (permalink)
Khamul

Disciple
 
Khamul's Avatar
 
Join Date: Apr 2008
Location: Canada
Posts: 403
Khamul is on a distinguished road
Default

Quote:
Originally Posted by nano351 View Post
that's just going to give player 1 lots of gas until he kills a unit. Then he'll stop getting gas...
AT MOST more then 0. So it means he WONT be getting 1 gas after 1 kill. He keeps getting it because there's no limit. If I used EXACT then it would.

Quote:
Originally Posted by Sharpestx View Post
But what is the reason for copy the 0 milisecond action for 60 times?
is that a code or what because I have open up a map and view the trigger and it is also the same like what you say just that the action is not milisecond it is comment the person copy the display comment action alot of times but when I open the comment and I saw that the comment was Text Here
so what is the reason for copying the action for 60 times?
FFS It's Hyper Triggers. If you kill 2 units at a time, you get both the resources because it makes the trigger go FASTER. If you just put preserve, you kill 2 units it gives profit of one. Copying x60 times is to speed up the trigger.
__________________

You have your experiences, I have mine.

Khamul 15 0FF11|\|3   Reply With Quote

Old 08-30-2008, 12:37 AM   #13 (permalink)
Zhuinden

High Priest
 
Zhuinden's Avatar
 
Join Date: Dec 2006
Location: Somewhere, elsewhere...
Posts: 1,781
Zhuinden is a jewel in the rough
Default

Edit: Lol. Khamul. What the hell. That makes no sense. -.-

Make individual Hyper Triggers and forget what Khamul said about the hyper triggers because it is bull****.

Make 4 triggers for a player without any wait that consist of:

Cond:
If Switch 1/2 is Set/Cleared
Action:
Wait 1 x 31
Clear/Set Switch 1/2
Wait 1 x 31
Preserve
Comment("HYPER TRIGGER 01-02-03-04");

And it will be better than whatever Khamul said, it was kinda stupid.

X-i Defense uses this:
Trigger("All players"){
Conditions:
Score("Current Player", Kills, At least, 1);

Actions:
Set Score("Current Player", Set To, 0, Kills);
Set Resources("Current Player", Add, 1, gas);
Preserve Trigger();
}
__________________
There is a distinct difference between your and you're that 98% of the online community refuses to see. If you're a member of the 2% that wants to decapitate them after beating them to bloody pulps, put this in your signature, and spread the word.


Quote:
Originally Posted by Gatão View Post
I became a true fgt. Why don't you all just accept my fgtness? I'm a fag because it's fun, I never meant to provoke anyone... seriously. It's my natural behavior.

Last edited by Zhuinden : 08-30-2008 at 12:44 AM.
Zhuinden 15 0FF11|\|3   Reply With Quote

Old 08-30-2008, 03:47 PM   #14 (permalink)
Sharpestx
Banned

Deviant
 
Join Date: Aug 2006
Location: singapore
Posts: 97
Sharpestx is an unknown quantity at this point
Default

1) hard_on I do not want to argue about the topic on english what I am trying to tell you is I came here for help and if u are willing to help then thanks but don't give that kind of unrelevent comment like fluent in english. I know my english is not perfect but at least you can understand right if not you will not be able to give me a wrong answer. Now I am not here to blame you that you give me a correct or wrong answer because you did help just saying don't give those comment that are not relevent that people don't like. I just PM 1 of the admin who give me a warning on double posting and 1 infration for I also not sure what is the reason. I tell him that he is not a good admin because there are so many admin like dt and other why I don't say that they are not good and just say that he is not good because he is being negative giving people a feeling that he is proud of having the power of admin.
there are alot of good people in bw hack who have help me alot and I know who are they but there are also people who like to give negative comment. I didn't say that the admin is bad just because of the warning he gave me but because I remember he also give other negative comment in my other post it is long time ago matter and I still remember.
Be more positive and make bw hack a more friendlier website. When I say people are negative is like for example last time I just ask that is there this kind of hack and I did not even ask for the hack but there are people who just reply with comment like stop hack begging and all those **** like afraid that people do not know that they know bw hack rule.
Be more positive or at least don't be negative.
__________________________________________________ __________________________________________________ ___
2) lol I dont understand what is call hyper trigger 1 told me to copy 30 times and 1 told me to copy 60 times so how much should I copy? ok the result I want is when player kill 1 unit, they will get 1 gas but no at least , at most , or exactly because nuclear can kill 1,2,3,4,5,6,7,8,9,10.... so is there a way out?

Last edited by Sharpestx : 08-30-2008 at 04:14 PM.
Sharpestx 15 0FF11|\|3   Reply With Quote

Old 08-30-2008, 04:43 PM   #15 (permalink)
Khamul

Disciple
 
Khamul's Avatar
 
Join Date: Apr 2008
Location: Canada
Posts: 403
Khamul is on a distinguished road
Default

Quote:
Originally Posted by Zhuinden View Post
Edit: Lol. Khamul. What the hell. That makes no sense. -.-

Make individual Hyper Triggers and forget what Khamul said about the hyper triggers because it is bull****.

Make 4 triggers for a player without any wait that consist of:

Cond:
If Switch 1/2 is Set/Cleared
Action:
Wait 1 x 31
Clear/Set Switch 1/2
Wait 1 x 31
Preserve
Comment("HYPER TRIGGER 01-02-03-04");

And it will be better than whatever Khamul said, it was kinda stupid.

X-i Defense uses this:
Trigger("All players"){
Conditions:
Score("Current Player", Kills, At least, 1);

Actions:
Set Score("Current Player", Set To, 0, Kills);
Set Resources("Current Player", Add, 1, gas);
Preserve Trigger();
}
You have your experiences, I have mine. Don't be so harsh on who's methods really work or not. but I did lose my line of thought on the way back up in the sentence up there.
__________________

You have your experiences, I have mine.

Khamul 15 0FF11|\|3   Reply With Quote