61
Help / Re: melee stun hard coded?
« on: November 04, 2023, 09:00:56 pm »making separate threads for separate questions/issues is preferred
ok thanks
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
making separate threads for separate questions/issues is preferred
Its same as `*.StatsMax.*` had, it effective copy paste of this other group of functions.
Look in verbose logging output for all available functions.
Max, for cap there is `*.StatsCap.*`
soldier.StatsMax.getStrength statmax;
# Custom XP Points for Health
soldier.Stats.getHealth statFromGame; # this mission stat total
statChange.getHealth statFromGameDiff; # stat gained from engine this battle
BattleUnit.getHealthMax soldier maxstat; # .rul max stat
set statByModder statFromGame;
sub statByModder statFromGameDiff;
battle_game.randomRange value valueMin valueMax;
add statByModder value;
if neq statFromGameDiff 0;
soldier.Stats.setHealth statByModder;
end;
yes
This is just for illustration, in a real script, you will need to consider stat caps, whether any experience was gained or not, etc.
Hi, I want to ask is it possible for a craft to continue onto another mission after you complete of a short mission, instead of it automatically return to base?