Code: Select all
FACTOR = 3
def BarbSpeed():
global FACTOR
Bladex.SetAnimationFactor("Bar_g_01",4 *FACTOR)
etc....
Code: Select all
<font color="red">
def BarbSpeed(FACTOR):
Bladex.SetAnimationFactor("Bar_g_01",4 *FACTOR)
#here all the other lines of \Lib\AnmFact.py for the barb
def AmazSpeed(FACTOR):
#here all the other lines of \Lib\AnmFact.py for the amaz</font id="red">
Code: Select all
<font color="red">
SET_TO = 3 #or whatever
player = Bladex.GetEntity("Player1")
kind = player.Kind[:len(player.Kind)-2]
if (kind == "Barbarian"): BarbSpeed(SET_TO)
elif (kind == "Amazon"): AmazSpeed(SET_TO)
elif (kind == "Dwarf"): DwarfSpeed(SET_TO)
elif (kind == "Knight"): KnightSpeed(SET_TO)
Return to “Severance BoD: Modding Community”
Users browsing this forum: No registered users and 1 guest