set anim speed
This commit is contained in:
@@ -115,6 +115,10 @@ function weapon_base:on_state_switch(state)
|
||||
if fsm_state.anim_sound then
|
||||
engine.play_sound(fsm_state.anim_sound)
|
||||
end
|
||||
|
||||
if fsm_state.anim_speed then
|
||||
self:set_animation_speed(fsm_state.anim_speed)
|
||||
end
|
||||
end
|
||||
|
||||
function weapon_base:set_relative_position_to_camera( ent )
|
||||
|
||||
Reference in New Issue
Block a user