So I'm working on an adjustment that sets a swim speed, seemed simple enough.
But no luck, I've run it at First/10000 (which is where the movement adjustment already runs) and I've run it at Final/14000 which is where a template that adjustments movement runs it.
Any suggestions?
Andrew
Code:
~if we're not active, just get out now
doneif (field[pIsOn].value = 0)
~ Set our swim speed
var speed as number
speed = hero.child[Speed].field[tSpeedMod].value / 2
hero.child[xSwim].field[abValue].value = maximum(hero.child[xSwim].field[abValue].value, speed)
But no luck, I've run it at First/10000 (which is where the movement adjustment already runs) and I've run it at Final/14000 which is where a template that adjustments movement runs it.
Any suggestions?
Andrew