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?
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.
To be more specific:
If Player 6 has 5 Gas, and you Subtract 6 Gas from Player 6, Player 6 will have 0 Gas.
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)
Try using the condition: If player 6 accumulates at most 0 gas.
I hope that works

Send me the map Ill see what I can do.
Uh... go on battle.net, my screen name is Dark-CPU_Masta
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?
It's in assistance, and it'll be by my name
Tips to help US help YOU:
1) Attach the map.
2) Add a link to your other post.
It's possable to set resources to a negitive value but you can't subtract to get there.
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
You could always set a counter for the negative numbers, like burrowed lings up in a corner or something.
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...
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)
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
tonight on map night Johnznothere78 u said it didnt work, i have screen shots of it
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.