Thread: Halp Movements
View Single Post
Dragon5e
Member
 
Join Date: May 2021
Location: San Angelo
Posts: 35

Old May 12th, 2021, 08:12 PM
Oh yes here's the full script

~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)
doneif (field[pAdjust].value = 0)
~ Add to speed

hero.childfound[Speed].field[tSpeed].value += field[pAdjust].value
hero.childfound[Speed].field[Bonus].value -= field[pAdjust].value

if (hero.child[xFly].field[abValue].value > 0) then
hero.child[xFly].field[abValue].value += field[pAdjust].value
endif
if (hero.child[xSwim].field[abValue].value > 0) then
hero.child[xSwim].field[abValue].value += field[pAdjust].value
endif
if (hero.child[xClimb].field[abValue].value > 0) then
hero.child[xClimb].field[abValue].value += field[pAdjust].value
endif
if (hero.child[xBurrow].field[abValue].value > 0) then
hero.child[xBurrow].field[abValue].value += field[pAdjust].value
endif
Dragon5e is offline   #2 Reply With Quote