iw6-scripts/destructible_scripts/toy_chicken_common.gsc
2024-02-13 13:20:49 +01:00

19 lines
1.3 KiB
Plaintext

// IW6 GSC SOURCE
// Generated by https://github.com/xensik/gsc-tool
#using_animtree("destructibles");
toy_chicken_common( var_0 )
{
common_scripts\_destructible::destructible_create( "toy_chicken" + var_0, "tag_origin", 0, undefined, 32 );
common_scripts\_destructible::destructible_anim( %chicken_cage_loop_01, #animtree, "setanimknob", undefined, 0, "chicken_cage_loop_01", 1.6 );
common_scripts\_destructible::destructible_anim( %chicken_cage_loop_02, #animtree, "setanimknob", undefined, 1, "chicken_cage_loop_02", 1.6 );
common_scripts\_destructible::destructible_loopsound( "animal_chicken_idle_loop" );
common_scripts\_destructible::destructible_state( "tag_origin", "chicken" + var_0, 25 );
common_scripts\_destructible::destructible_fx( "tag_origin", "fx/props/chicken_exp" + var_0 );
common_scripts\_destructible::destructible_anim( %chicken_cage_death, #animtree, "setanimknob", undefined, 0, "chicken_cage_death" );
common_scripts\_destructible::destructible_anim( %chicken_cage_death_02, #animtree, "setanimknob", undefined, 1, "chicken_cage_death_02" );
common_scripts\_destructible::destructible_sound( "animal_chicken_death" );
common_scripts\_destructible::destructible_state( undefined, "chicken" + var_0, undefined, undefined, "no_melee" );
}