Staredit Network

Staredit Network -> UMS Assistance -> Lifes/Wait question
Report, edit, etc...Posted by Zombie on 2005-11-14 at 23:00:56
Ok, if you have played normandy (panzers map) you will know what im talking about.


I want the player to start with 3 vesben (i know how to do that) but every time the player dies i want it to - 1 from the gas.

How would i do that.


you know the wait trigger, is that minisecs or secs?


Sorry for posting a new topic, if the mods can you guys can fuse this together.


For my request, can anyone point me to a site that has like the old age heros (like when they used swords n stuff)
Report, edit, etc...Posted by RedNara on 2005-11-14 at 23:04:20
are you talking about player starts with 3 gas as life and -1 gas aka life from it... beucase i dont think thats what your saying...

but if that is i bet you know how to do that tongue.gif
Report, edit, etc...Posted by Kenoli on 2005-11-14 at 23:05:50
In the wait trigger 1000 = 1 second.
Report, edit, etc...Posted by Do-0dan on 2005-11-14 at 23:06:06
the waits are in milliseconds
Report, edit, etc...Posted by Zombie on 2005-11-14 at 23:07:04
QUOTE(BoyScout @ Nov 14 2005, 09:04 PM)
are you talking about player starts with 3 gas as life and -1 gas aka life from it... beucase i dont think thats what your saying...

but if that is i bet you know how to do that tongue.gif
[right][snapback]356281[/snapback][/right]

Have you played panzers normandy map?

Every time the player dies it takes away one gas point. Then when the player hits 0 gas the player looses. Thats what im asking

QUOTE(Kenoli @ Nov 14 2005, 09:05 PM)
In the wait trigger 1000 = 1 second.
[right][snapback]356282[/snapback][/right]

Thanks
Report, edit, etc...Posted by KaboomHahahein on 2005-11-14 at 23:12:48
I havent mapped in a long time so I'm a bit rusty anyways if you want the specific unit to die and you lose gas (in the Normandy map) you bring the guy to the becon and you choose the unit.


Trigger
Description:
Bring civ to beacon
Players:
¤ Player 1
Conditions:
¤ Bring civ to "location"
Actions:
¤ Set switch 1



Trigger
Description:
When "Unit" dies
Players:
¤ Player 1
Conditions:
¤ Switch 1 is set
¤ Current player commands 0 of "Unit"
Actions:
¤ ModifyResource (gas,-1);


I know there is a better and faster way of doing this though that I don't seem to be thinking of... Oh and clear the switch after you die.
Report, edit, etc...Posted by Syphon on 2005-11-14 at 23:14:02
QUOTE(o-0 @ Nov 14 2005, 11:06 PM)
the waits are in milliseconds
[right][snapback]356283[/snapback][/right]


Actually they're in microseconds.
Report, edit, etc...Posted by Kenoli on 2005-11-14 at 23:21:52
QUOTE
Every time the player dies it takes away one gas point. Then when the player hits 0 gas the player looses. Thats what im asking




Trigger
Description:
Death-Subtract Gas
Conditions:
¤ Player has at least 1 death of Marine
¤ Player has at least 1 Gas
Actions:
¤ Create 1 Marine at "Respawn location"
¤ Subtract 1 Gas for Player
¤ Subtract 1 Death of Marine for Player




Trigger
Description:
Defeat
Conditions:
¤ Player has at Exactly 0 Gas
Actions:
¤ Defeat!!!


QUOTE
Actually they're in microseconds.
That would be 1 million = 1 second... >>
Report, edit, etc...Posted by Zombie on 2005-11-15 at 00:08:34
QUOTE(Kenoli @ Nov 14 2005, 09:21 PM)








Trigger
Description:
Death-Subtract Gas
Conditions:
¤ Player has at least 1 death of Marine
¤ Player has at least 1 Gas
Actions:
¤ Create 1 Marine at "Respawn location"
¤ Subtract 1 Gas for Player
¤ Subtract 1 Death of Marine for Player








Trigger
Description:
Defeat
Conditions:
¤ Player has at Exactly 0 Gas
Actions:
¤ Defeat!!!


That would be 1 million = 1 second... >>
[right][snapback]356299[/snapback][/right]


Thank you, but when the player selects a unit (he has choices) and i remove the selecter, wouldnt it subtract a gas point?
Report, edit, etc...Posted by Snipe on 2005-11-15 at 00:15:35
This is so overrated... when will i hear and educated question and answer.. instead of dragging this on..
Report, edit, etc...Posted by RedNara on 2005-11-15 at 00:25:50
no it wouldnt... becuase thats remove.. trigger.. and this is death..... see the difference...
Report, edit, etc...Posted by Zombie on 2005-11-15 at 00:32:16
QUOTE(Snipe @ Nov 14 2005, 10:15 PM)
This is so overrated... when will i hear and educated question and answer.. instead of dragging this on..
[right][snapback]356331[/snapback][/right]

hey thanks for the flame i be sure to report it.

QUOTE(BoyScout @ Nov 14 2005, 10:25 PM)
no it wouldnt... becuase thats remove.. trigger.. and this is death..... see the difference...
[right][snapback]356346[/snapback][/right]



Wouldnt it still count? there might be a differnce in name but it will count as a loss to the players units dead or removed. but meh ill just test it tongue.gif
Report, edit, etc...Posted by Kenoli on 2005-11-15 at 00:52:12
Killing/removing a unit with a trigger dosen't add a death for the unit.

QUOTE
This is so overrated... when will i hear and educated question and answer.. instead of dragging this on..
Helpful.
Report, edit, etc...Posted by Zombie on 2005-11-15 at 15:25:30
Ok, thanks all problem solved biggrin.gif.
Report, edit, etc...Posted by Oo.Turin.oO on 2005-11-15 at 20:12:09
QUOTE(Zombie @ Nov 14 2005, 09:08 PM)
Thank you, but when the player selects a unit (he has choices) and i remove the selecter, wouldnt it subtract a gas point?
[right][snapback]356325[/snapback][/right]

Not if you incorporate a switch as the in the condition for losing a unit. So, when you select a unit you would set the switch, when you died, you would clear the switch, and the death trigger would have switch x is set as a condition.
Next Page (1)