Staredit Network

Staredit Network -> UMS Assistance -> ammo
Report, edit, etc...Posted by VizuaL on 2005-05-03 at 21:06:38
100 (Bullets)minerals 3 vespene(Clips)

Players

All players

Conditions

Commands 1 marine
Accumalates 0 minerals
Accumulates 3 vespene

Actions

Modify Resources for current player : subtract 1 vespene gas
Modify Resources for current player : add 100 minerals

happy.gif^
i did this for every clip
and when i make the game, my bullets are 100 but the vespenese empty into them still so i have 400 minerals. y


for the kill action
Conditions

Current player commands 1 marine
ACcumalates atleast 25 minerals

Actions


Subtract 25 minerals for current player
Preserve trigger

ADDITION:
100 minerals turns to 0 subtract 1 gas 2 gas left 100 minerals restored.
Report, edit, etc...Posted by re_casper on 2005-05-03 at 21:07:27
well the best i can say is that u have to get 3 vespene and minerals doesnt matter or ur triggering is rong
Your trigger can be set to at most
and ur triggers are rong
QUOTE
Conditions

Current player commands 1 marine
ACcumalates atleast 25 minerals

Actions

Subtract 25 minerals for current player
Preserve trigger


This means that whenever you have 25 minerals you lose 25 minerals until you have under 25 minerals which then you would reload and then start it all over again

u did preserve the triggers right?
Report, edit, etc...Posted by VizuaL on 2005-05-03 at 21:08:43
1 clip = 100 minerals every vesphene 100 minerals
100 turns to 0 over killing 4 units of a subtraction of 25 each empties 1 clip.
but i did not kill any units and it empties the clips to make me have 400 minearls or bullets
Report, edit, etc...Posted by re_casper on 2005-05-03 at 21:11:24
your trigger for killing should be different and your first trigger u may want to do them separate

Trigger
Description:
getting minerals
Players:
¤ all
Conditions:
¤ when u get zero minerals
Actions:
¤ subtract 1 gas
¤ add 100 minerals


U may want to use death counters for the killing
Report, edit, etc...Posted by in_a_biskit on 2005-05-04 at 08:46:32
I suspect that you've used "player has accumulated at least 0 minerals", when you really want "player has accumulated at most 0 minerals".

Your second trigger won't count off kills, if that's what you want it to do. You need a condition to detect that a unit has been killed.
An easy (but sometimes unreliable) one is "Current player's kills score is at least 25". And in the actions, add "Set current player's kills score to 0".

Check out this tute:
http://www.staredit.net/index.php?tutorial=81
Report, edit, etc...Posted by warhammer40000 on 2005-05-04 at 16:26:03
QUOTE(LegacyWeapon)
We have tutorials for everything!


http://www.staredit.net/index.php?tutorial=39

Please search the tutorials first.
Report, edit, etc...Posted by (U)Bolt_Head on 2005-05-04 at 23:44:33
You should tell us your full triggers SiLeNt-SwiFt

Anyways your reload trigger should be like this

Conditions:
-Current player accumulates exactly 0 minerals
-Current player accumulates at least 1 vespene gas
Actions:
-Modify Resources for current player : subtract 1 vespene gas
-Modify Resources for current player : add 100 minerals
-Preserve Trigger


Come on, think about what your doing and what your conditions mean.

accumulates exactly 0 minerals means the player has no bullets left.
accumulates at least 1 vespene gas means the player has at least one spare clip.
Next Page (1)