PDA

View Full Version : Trigger Help


everett95
02-21-2008, 1:43 PM
:DThere are 2 triggers i need help on for this map im making (not Obelisk):D

1. Ammo trigger, the one where minerals are bullets and gas are clips

2 opening and closing doors

:Dit would be greatly appreciated if someone helped me out with this:D

Hydralisk1337
02-21-2008, 1:48 PM
I can help out with the ammo one.

Conditions: Current Player Kills at least 1 [men]
Actions: Set Resources: Minus 1 ore

Conditions: Current Player accumlates 0 ore
Actions: Set Resources: Minus 1 gas
Set Respirces: Add *number of bullets* ore

And for those doors:
Condition: Current Player brings at least one [men] to location *location*
Action: Disable doodle state for *door name* at location *location*

And to close it:
Condition: Current Player brings at least 0 [men] to location *location*
Action: Enable doodle state for *door name* at location *location*
_______________

And don't forget to add "Preserve Trigger" to each action for each trigger.
;)

Durandal
02-21-2008, 3:09 PM
Conditions: Current Player accumlates 0 ore
Actions: Set Resources: Minus 1 gas
Set Respirces: Add *number of bullets* ore

You also need to add the condition that Player accumulates at least 1 gas. If you don't he'll just have infinite clips of ammo. It's also important that you kill all your enemies in one hit, obviously.

Although; isn't all this mentioned in the modding and mapping resource thread, and even more importantly, the tutorials section?

Polkaman
02-21-2008, 10:41 PM
The door trigger semms kinda buggy, liek that it'll keep on closing and opening. im not sure how to fix that, as im a total dumbass when it comes to doors. Just saying =D

Twitch6000
02-22-2008, 1:37 AM
For the ammo one when your out of ammo you say ammo is 0(gas and minerals)
ally all players preserve.

migidu
02-22-2008, 5:53 AM
here's the link for the ammo triggers.

http://www.maplantis.org/index.php?wiki=72

and hers's the link for the door triggers.

http://www.maplantis.org/index.php?wiki=75

everett95
02-22-2008, 12:06 PM
Thanks a dozen guys now i can continue my map.

Hydralisk1337
02-22-2008, 1:41 PM
I was on a quick effort when typing of my post back there. My bad for missing crap. Anyways, good luck.

Basan
02-29-2008, 11:44 PM
Everett', I simply would like to point out that the door question (alongside another helpful ones) already is explained in the Mapping FAQ thread (http://www.warboards.org/showthread.php?t=13285). ;)

XxMayhemxX
03-03-2008, 3:11 PM
Here are 3 tutorials from staredit.net
all from the same guy

http://www.staredit.net/?p=tutorials&tut=31 (A tutorial for when your ammo and clips run out An alliance trigger is also used so your guys wont shoot when hes out of bullets)

http://www.staredit.net/?p=tutorials&tut=14 (ammunition made easy - flawed and obsolete)

http://www.staredit.net/?p=tutorials&tut=30 (ammunition made hard - this fixes the other one. )

Durandal
03-03-2008, 6:38 PM
Are your posts intentionally redundant?

migidu
03-04-2008, 12:31 AM
i did read, when the person who started this thread isnt posting anymore in this thread he made, his questions are probably answered already, and there are just other people who fail to realize that so they post.

Basan
03-04-2008, 6:07 PM
Are your posts intentionally redundant?

Mine, Mayhem's or both? (As in, quoting or addressing to whom you're replying helps.) :P

Twitch6000
03-04-2008, 8:43 PM
Mine, Mayhem's or both? (As in, quoting or addressing to whom you're replying helps.) :P
I am just going to take a guess here and say Mayhems's then suggest this be closed :p.

Durandal
03-04-2008, 10:36 PM
I am just going to take a guess here and say Mayhems's then suggest this be closed

That would be correct. I assumed that since I posted directly after him, it would be pretty clear :rolleyes:

Anyway, yeah, let's close this already- unless Everett still has more to ask?