I need a good stamina system, because the one im using now is very jittery and i cant think up of a better system.
Stamina system?! What is that? Please explain further.
If you'll wait about 2 days, I'll give you the system that I used in one of my earlier maps. If you want to see the map, click the "Legacy of Hæan" link in my sig.
I need the system to regain stamina while someone sits still.
It's actually pretty easy. If player brings no hero to hero location, center location hero on hero, subtract 2 stamina. Then another which always runs, adding one stamina. You can set the decrease amount to more, to have a faster tiring out effect.
QUOTE
Always
-
Set deaths for current player: subtract 1
If deaths for current player are exactly 0
current player brings exactly 0 men to 'location'
-
move location labelled 'location' on men for current player at 'anywhere'
set deaths for current player to 12
subtract 1 stamina point
If deaths for current player are exactly 0
current player brings at least 1 men to 'location'
-
move location labelled 'location' on men for current player at 'anywhere'
set deaths for current player to 12
add 1 stamina point
Or something similar to that.
The problem with that is that when it centers using the subtraction trigger, the stand still will kick in, and the movement trigger is instantly negated.
No it won't because the counter will be set back up.
Use another counter that adds 1 preserved when you sit in that location. Then when you move out of that location, reset the counter to 0.
Here's an example if u wanna look at it.
[attachmentid=11278]