Staredit Network

Staredit Network -> UMS Assistance -> aMMO SYSTEM
Report, edit, etc...Posted by r[s]t on 2004-08-30 at 21:12:20
preventing fireing at enemy when out of gas(ammo) (by setting ally)
allow fireing at enemy when control 1 gas (set enemy)

HOW?
Report, edit, etc...Posted by Vindexus on 2004-08-30 at 21:18:00
This will work, just took me a while to fix the bb code smile.gif

Trigger
Players:
¤ Humans
Conditions:
¤ Current player has exactly 0 gas (ammo)
Actions:
¤ Set P8 to ally
¤ preserve trigger


Trigger
Players:
¤ Humans
Conditions:
¤ Current player has at least 1 gas (ammo)
Actions:
¤ Set P8 to enemy
¤ preserve trigger
Report, edit, etc...Posted by greenreaper on 2004-08-30 at 21:18:54
Okay...here is THE trigger.

Players
Whatever
Conditions
Player "1" Accumulates "Exactly" "0" "gas"
Actions
Set Alliance Status: ALLY
Preserve Trigger


I'm pretty sure that will work...
Report, edit, etc...Posted by CheeZe on 2004-08-30 at 21:21:59
those don't keep track of how many times he's fired..unless you're doing a trigger that keeps track.
Report, edit, etc...Posted by r[s]t on 2004-08-30 at 21:22:52
yEAH THATS WUT I DID. bUT DURING TESTING IT DIDNT OPEN FIRE.
Report, edit, etc...Posted by Vindexus on 2004-08-30 at 21:24:16
Are you also asking how to do an ammo system? With subtracting ammo for each kill?
Report, edit, etc...Posted by LegacyWeapon on 2004-08-30 at 21:26:56
heres a good one

Trigger
Description:
Let Shoot
Players:
¤ Current Player
Conditions:
¤ Your conditions (fire!)
¤ Deaths of (unused unit) is 0
Actions:
¤ Set Vespene Gas to 1
¤ Set Deaths of (unused unit) to 50
¤ Preserve Trigger



Trigger
Description:
Unally
Players:
¤ Current Player
Conditions:
¤ Current player accumulates at least 1 vespene gas.
Actions:
¤ Set P8 to enemy
¤ Preserve Trigger



Trigger
Description:
Ally
Players:
¤ Current Player
Conditions:
¤ Current player accumulates exactly 0 vespene gas.
Actions:
¤ Set P8 to ally
¤ Preserve Trigger



Trigger
Description:
Set
Players:
¤ Current Player
Conditions:
¤ Current player accumulates at least 1 vespene gas.
¤ Death counts for current player is exactly 0 of (unused unit)
Actions:
¤ Set current players vespene gas to 0
¤ Preserve Trigger



Trigger
Description:
Set
Players:
¤ Current Player
Conditions:
¤ Current player accumulates at least 1 vespene gas.
¤ Death counts for current player is exactly 0 of (unused unit)
Actions:
¤ Set current players vespene gas to 0
¤ Preserve Trigger



Trigger
Description:
subtract deaths
Players:
¤ Current Player
Conditions:
¤ Death counts for current player is at least 1 of (unused unit)
Actions:
¤ Set deaths for current player to subtract 1 of (unused unit)
¤ Preserve Trigger
Report, edit, etc...Posted by greenreaper on 2004-08-30 at 21:27:10
EDIT: gah...I'm too confused right now...that was just ONE trigger to the system lol
Report, edit, etc...Posted by phatdiddy on 2004-08-30 at 21:29:45
Ya know people can just use the attack order and force their units to attack.

If you do this:


Trigger
Description:
Trigger
Players:
¤ Player 1
Conditions:
¤ Player 1 accumulates exactly 0 gas.
Actions:
¤ Set Player 2 to Enemy status
¤ Set Player 2 to ally status
¤ Preserve trigger.



That with hyper triggers doesn't let you attack even if oyu order it yourself.
Report, edit, etc...Posted by Vindexus on 2004-08-30 at 21:32:40
Legacy, what did you post? What is it supposed to be? Here's THE trigger to use to lose ammo for killing stuff. This is also being added to my count of Kills to Cash.
Trigger
Players:
¤ Humans
Conditions:
¤ Current players kills score is at least 1
Actions:
¤ Set Kills to 0 kills
¤ Subtract 1 gas
¤ Preserve Trigger


That will work in this case if you are using just one unit and have hyper triggers. This IS NOT THE WAY TO KILLS TO CASH FOR EVERY OCCASION.
Report, edit, etc...Posted by LegacyWeapon on 2004-08-30 at 21:37:31
i posted the whole code for when u do something, it unallies the enemie allowing u to shoot, the death count is the countdown so you actually get ur shot in while the enemy is unallied. its actually a shotcount where if u shoot, even if u miss, u use a bullet
Report, edit, etc...Posted by Staredit.Net Essence on 2004-08-31 at 12:50:19
unn i have a question how do you lose ammo by killling a zombie cuz i'm adding it to my zombie map
Report, edit, etc...Posted by Kusion on 2004-08-31 at 15:15:46
do what Vindexus said. ally then unally wink.gif
Report, edit, etc...Posted by Vindexus on 2004-08-31 at 15:51:16
QUOTE(Vindexus @ Aug 30 2004, 08:32 PM)
Legacy, what did you post? What is it supposed to be? Here's THE trigger to use to lose ammo for killing stuff. This is also being added to my count of Kills to Cash.









Trigger
Players:
¤ Humans
Conditions:
¤ Current players kills score is at least 1
Actions:
¤ Set Kills to 0 kills
¤ Subtract 1 gas
¤ Preserve Trigger


That will work in this case if you are using just one unit and have hyper triggers. This IS NOT THE WAY TO KILLS TO CASH FOR EVERY OCCASION.
[right][snapback]62042[/snapback][/right]


Wolfmaster, do that. And change your map making skill to average.
Report, edit, etc...Posted by LegacyWeapon on 2004-08-31 at 17:19:05
my post was the same thing as ally + unally but the whole trigger set
like
Fire, Unally, Wait, Ally
so you can use it with fast tirggers
Next Page (1)