(see figure)
#cr_0_0_Basic #This is Basic Rule for cr_0 #To Use Multi Rules, Create Rule-Name-List as "cr_0_rules" #------------------------------ #Rule Properties p = [1,1,1,1,1,1] import bpy if "Base" in bpy.data.objects: p[0] = bpy.data.objects["Base"].spr_creature_rule_parameter_0 p[1] = bpy.data.objects["Base"].spr_creature_rule_parameter_0 p[2] = bpy.data.objects["Base"].spr_creature_rule_parameter_0 p[3] = bpy.data.objects["Base"].spr_creature_rule_parameter_0 p[4] = bpy.data.objects["Base"].spr_creature_rule_parameter_0 p[5] = bpy.data.objects["Base"].spr_creature_rule_parameter_0 #------------------------------ currentModel = self.models["current"] maxAttvSo = currentModel.maxAttvSo maxAtttSo = currentModel.maxAtttSo maxAttSo = currentModel.maxAttSo if maxAttSo: self.HeadController.LookAt(maxAttSo.phSolid.GetFramePosition(),Spr.Vec3d(),1) #self.LeftHand.SetTargetPos(maxAttSo.phSolid.GetFramePosition()) #self.RightHand.SetTargetPos(maxAttSo.phSolid.GetFramePosition()) #self.LeftHand.Start() #self.RightHand.Start()