Staredit Network

Staredit Network -> UMS Assistance -> Negative Gas?
Report, edit, etc...Posted by Neiji on 2004-10-08 at 16:00:39
Okay, if this is the problem with my Blazing Fang RPG, then I found my biggest bug! Okay, can gas go negative, because when the enemy has 5 gas (HP) left and I do an attack that does 5 damage, the trigger that has an action of: Player 6 accumulates exactly 0 gas..." works, but when I use an attack that does more than 5 damage, the trigger doens't work.

So, can there be negative Gas?
Report, edit, etc...Posted by TEC_Ghost on 2004-10-08 at 16:10:32
QUOTE(Johnznothere78 @ Oct 8 2004, 02:00 PM)
Okay, if this is the problem with my Blazing Fang RPG, then I found my biggest bug! Okay, can gas go negative, because when the enemy has 5 gas (HP) left and I do an attack that does 5 damage, the trigger that has an action of: Player 6 accumulates exactly 0 gas..." works, but when I use an attack that does more than 5 damage, the trigger doens't work.

So, can there be negative Gas?
[right][snapback]83757[/snapback][/right]


Nope, Minerals and Gas cannot go negative.
Report, edit, etc...Posted by PCFredZ on 2004-10-08 at 16:29:32
To be more specific:

If Player 6 has 5 Gas, and you Subtract 6 Gas from Player 6, Player 6 will have 0 Gas.
Report, edit, etc...Posted by Neiji on 2004-10-08 at 16:34:02
Then Dig up my old topic. It's about something about triggers not working. If you fix the problem, I'll give you 500 minerals. (Or more)
Report, edit, etc...Posted by Talrathis on 2004-10-08 at 16:34:08
Try using the condition: If player 6 accumulates at most 0 gas.
I hope that works smile.gif
Report, edit, etc...Posted by Neiji on 2004-10-08 at 16:47:15
tried that...
Report, edit, etc...Posted by TEC_Ghost on 2004-10-08 at 16:50:48
Send me the map Ill see what I can do.
Report, edit, etc...Posted by Neiji on 2004-10-08 at 16:54:26
Uh... go on battle.net, my screen name is Dark-CPU_Masta
Report, edit, etc...Posted by NeoNightmareX on 2004-10-08 at 17:23:53
QUOTE(Johnznothere78 @ Oct 8 2004, 03:34 PM)
Then Dig up my old topic. It's about something about triggers not working. If you fix the problem, I'll give you 500 minerals. (Or more)
[right][snapback]83775[/snapback][/right]

i was looking for it, cant find it, wat map is it about?
Report, edit, etc...Posted by Neiji on 2004-10-08 at 17:25:10
It's in assistance, and it'll be by my name
Report, edit, etc...Posted by PCFredZ on 2004-10-08 at 19:03:23
Tips to help US help YOU:

1) Attach the map.

2) Add a link to your other post.
Report, edit, etc...Posted by (U)Bolt_Head on 2004-10-08 at 19:21:04
It's possable to set resources to a negitive value but you can't subtract to get there.
Report, edit, etc...Posted by NeoNightmareX on 2004-10-08 at 19:55:48
QUOTE(Johnznothere78 @ Oct 8 2004, 03:34 PM)
Then Dig up my old topic. It's about something about triggers not working. If you fix the problem, I'll give you 500 minerals. (Or more)
[right][snapback]83775[/snapback][/right]


found it

QUOTE(Johnznothere78 @ Aug 19 2004, 04:13 PM)
The bug is that after u win, it doesn't say "Enemy has Fallen in Battle" and other stuff like add exp and stuff... The Triggers are in the Commented Trigger called "Enemy Dies"...[right][snapback]83775[/snapback][/right]


i fixed it, o yea 500+ mins its a contract
my fixing is a secret so dont ask
Report, edit, etc...Posted by eXile5 on 2004-10-08 at 20:37:09
You could always set a counter for the negative numbers, like burrowed lings up in a corner or something.
Report, edit, etc...Posted by Neiji on 2004-10-09 at 15:38:28
Sorry, but u gotta Private Message me on What I need to do, or no minerals...'


Edit: Plus, you're a beginner, so I don't even know what u did...
Report, edit, etc...Posted by NeoNightmareX on 2004-10-09 at 22:40:58
QUOTE(Johnznothere78 @ Oct 9 2004, 02:38 PM)
Sorry, but u gotta Private Message me on What I need to do, or no minerals...'
Edit: Plus, you're a beginner, so I don't even know what u did...
[right][snapback]84071[/snapback][/right]

i sent the PM and beginner because i kno most triggers but never made a map, just played around with them and quit when im like 40% done, i have ADHD (i think)
Report, edit, etc...Posted by The_Blackness on 2004-10-10 at 00:06:00
QUOTE((U)Bolt_Head @ Oct 8 2004, 05:21 PM)
It's possable to set resources to a negitive value but you can't subtract to get there.
[right][snapback]83808[/snapback][/right]


what exactly would be the point in having negative gas/minerals? i cant think of anything off hand
Report, edit, etc...Posted by NeoNightmareX on 2004-10-10 at 00:14:16
tonight on map night Johnznothere78 u said it didnt work, i have screen shots of it
Report, edit, etc...Posted by .Coko[CK] on 2004-10-10 at 08:53:49
Its hard to set negative values, because you need to know how far it should be negative. A way could be to have it have a rising value of another counter as you subtract from the other. And if it hits zero, you make sure the triggers know what the value was before hand, and then subtract from your rising counter then you know how negative it really is.
Next Page (1)