Staredit Network

Staredit Network -> UMS Assistance -> Condition Trigger
Report, edit, etc...Posted by linK_ on 2005-02-11 at 07:59:55
Yo smile.gif

Its me again with another question blushing.gif ...
Its about a special condition or maybe a workaround to simulate it...

What i want to have as condition is: IF player 1 spend at exactly 1 gas THEN ..
So it should fire if player 1 spend 1 gas for buying anything...

Possible or not ?! And what about a workaround ?!

PLZ helpsmilie.gif
THX

wink.gif
Report, edit, etc...Posted by chuiu on 2005-02-11 at 09:35:57
No, you can't do anything like that. I know a way to do it but it requires a lot of trigggers and it requires that you give them gas by triggers only.
Report, edit, etc...Posted by linK_ on 2005-02-11 at 10:13:45
hey smile.gif thx for ya replie...

well in fact the players get gas ONLY by triggers..
theres no other way of getting gas...

so i would appriciate an example of what i could do !!

thx alot wink.gif
Report, edit, etc...Posted by chuiu on 2005-02-11 at 10:21:51
Ok then, everytime you give the player 1 gas, you give them 1 custom score also. Then you will compare custom score to gas amounts with a series of triggers. Something like:

C:
Player accumulates exactly 0 gas.
Player Custom score is at least 1.

A:
Modify score for Player: Subtract 1 Custom.
(the rest of the actions you want)
Preserve trigger.

C:
Player accumulates exactly 1 gas.
Player Custom score is exactly 2.

A:
Modify score for Player: Subtract 1 Custom.
(the rest of the actions you want)
Preserve trigger.

C:
Player accumulates exactly 2 gas.
Player Custom score is exactly 3.

A:
Modify score for Player: Subtract 1 Custom.
(the rest of the actions you want)
Preserve trigger.

And so on. So basically it works by checking to see if the gas amount is lower than the custom score amount which should be the same as the gas amount.
Report, edit, etc...Posted by linK_ on 2005-02-11 at 10:32:12
w00t.gif

oh nice smile.gif yea i understand the concept, thnx alot..
but there is one problem now...

i allready use the "custom score ponits" for another trigger which is nessecary...
so can i use 2 custom scores or what should i do now ?

tx
happy.gif

Report, edit, etc...Posted by AqoTrooper on 2005-02-11 at 10:45:57
QUOTE(linK_ @ Feb 11 2005, 06:32 PM)
w00t.gif

oh nice smile.gif yea i understand the concept, thnx alot..
but there is one problem now...

i allready use the "custom score ponits" for another trigger which is nessecary...
so can i use 2 custom scores or what should i do now ?

tx
happy.gif
[right][snapback]142865[/snapback][/right]

you have plentry custome scores to use so just use another one, but make sure to use one that won't be changed by other things than triggers (don't use kills if you're gonna kill anybody).
Report, edit, etc...Posted by linK_ on 2005-02-11 at 11:01:57
well i ment can i have 2 "self-defiend custom scores" .. but i found a way smile.gif
i just use destryoed building score since the payers can never kill buuildings wink.gif


thx
cool1.gif


edit: lol i can close my own topics !! nice.. so i`ll do this now tongue.gif
Next Page (1)