s1-scripts-dev/raw/destructible_scripts/berlin_hotel_lights_wall2.gsc
2025-05-21 16:23:17 +02:00

20 lines
499 B
Plaintext

#include common_scripts\_destructible;
#using_animtree( "destructibles" );
main()
{
dest_onestate("berlin_hotel_lights_wall2","berlin_hotel_lights_wall2_destroyed","fx/misc/light_blowout_wall_runner");
}
dest_onestate(destructibleType,dest,fx,sound)
{
destructible_create(destructibleType,"tag_origin",150,undefined,32);
destructible_fx( "tag_fx", fx);
destructible_state( "tag_origin", dest, undefined, undefined, "no_meele" );
if (isdefined( sound))
destructible_sound( sound );
}