

![]() |
![]() |
|
|||||||
![]() |
![]() |
| Mods & Maps All aspects of modding and map making for Starcraft. |
![]() |
|
|
LinkBack | Thread Tools |
![]() |
![]() |
|
|
#1 (permalink) |
|
Banned
![]() ![]() Deviant Join Date: Aug 2006
Location: singapore
Posts: 97
![]() |
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?
|
|
|
|
![]() |
![]() |
|
Advertisement
|
|
![]() |
![]() |
|
|
#3 (permalink) |
![]() Inquisitor |
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." Why are we living for?
Last edited by HARD_ON : 08-27-2008 at 02:00 PM. |
|
|
|
![]() |
![]() |
![]() |
![]() |
|
|
#4 (permalink) |
|
Banned
![]() ![]() Deviant Join Date: Aug 2006
Location: singapore
Posts: 97
![]() |
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
|
|
|
|
![]() |
![]() |
![]() |
![]() |
|
|
#6 (permalink) | |
|
Banned
![]() ![]() Deviant Join Date: Aug 2006
Location: singapore
Posts: 97
![]() |
Quote:
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 |
|
|
|
|
![]() |
![]() |
![]() |
![]() |
|
|
#7 (permalink) | |
![]() ![]() ![]() ![]() Disciple Join Date: Apr 2008
Location: Canada
Posts: 403
![]() |
Quote:
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. |
|
|
|
|
![]() |
![]() |
![]() |
![]() |
|
|
#8 (permalink) | |
|
Banned
![]() Evangelist |
Quote:
|
|
|
|
|
![]() |
![]() |
![]() |
![]() |
|
|
#9 (permalink) | |
|
Banned
![]() ![]() Deviant Join Date: Aug 2006
Location: singapore
Posts: 97
![]() |
Quote:
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? |
|
|
|
|
![]() |
![]() |
![]() |
![]() |
|
|
#10 (permalink) | ||
![]() Inquisitor |
Quote:
Quote:
|
||
|
|
|
![]() |
![]() |
![]() |
![]() |
|
|
#11 (permalink) | |
|
bored
Gold Member
![]() Evangelist |
Quote:
Also, HARD_ON is correct I believe. |
|
|
|
|
![]() |
![]() |
![]() |
![]() |
|
|
#12 (permalink) | ||
![]() ![]() ![]() ![]() Disciple Join Date: Apr 2008
Location: Canada
Posts: 403
![]() |
Quote:
Quote:
__________________
![]() You have your experiences, I have mine. |
||
|
|
|
![]() |
![]() |
![]() |
![]() |
|
|
#13 (permalink) |
![]() ![]() High Priest Join Date: Dec 2006
Location: Somewhere, elsewhere...
Posts: 1,781
![]() |
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.
Last edited by Zhuinden : 08-30-2008 at 12:44 AM. |
|
|
|
![]() |
![]() |
![]() |
![]() |
|
|
#14 (permalink) |
|
Banned
![]() ![]() Deviant Join Date: Aug 2006
Location: singapore
Posts: 97
![]() |
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. |
|
|
|
![]() |
![]() |
![]() |
![]() |
|
|
#15 (permalink) | |
![]() ![]() ![]() ![]() Disciple Join Date: Apr 2008
Location: Canada
Posts: 403
![]() |
Quote:
__________________
![]() You have your experiences, I have mine. |
|
|
|
|
![]() |
![]() |
![]() |