Staredit Network

Staredit Network -> UMS Assistance -> Stamina system
Report, edit, etc...Posted by Dr.Shotgun on 2005-07-05 at 03:54:22
I need a good stamina system, because the one im using now is very jittery and i cant think up of a better system.
Report, edit, etc...Posted by Kow on 2005-07-05 at 04:52:25
Stamina system?! What is that? Please explain further.
Report, edit, etc...Posted by qPirateKing on 2005-07-05 at 05:29:12
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.
Report, edit, etc...Posted by TDT-DaRkFiRe on 2005-07-05 at 05:57:46
http://www.staredit.net/index.php?showtopic=17059
Report, edit, etc...Posted by Dr.Shotgun on 2005-07-05 at 22:31:08
I need the system to regain stamina while someone sits still.
Report, edit, etc...Posted by Wilhelm on 2005-07-05 at 22:37:28
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.
Report, edit, etc...Posted by LegacyWeapon on 2005-07-05 at 22:39:54
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.
Report, edit, etc...Posted by Wilhelm on 2005-07-05 at 22:43:19
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.
Report, edit, etc...Posted by LegacyWeapon on 2005-07-05 at 22:45:36
No it won't because the counter will be set back up.
Report, edit, etc...Posted by Sniper on 2005-07-05 at 23:28:46
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]
Report, edit, etc...Posted by Dr.Shotgun on 2005-07-05 at 23:53:56
Thanks!
Next Page (1)