nx1-gsc-dump/maps/animated_models/highrise_fencetarp_01.gsc
2024-09-04 23:46:54 +10:00

22 lines
539 B
Plaintext

#include common_scripts\utility;
#using_animtree( "animated_props" );
main()
{
if( !isdefined ( level._anim_prop_models ) )
level._anim_prop_models = [];
// Would use isSP() but this runs before we can
mapname = tolower( getdvar( "mapname" ) );
SP = true;
if ( string_starts_with( mapname, "mp_" ) )
SP = false;
model = "highrise_fencetarp_01";
if ( SP )
{
level._anim_prop_models[ model ][ "wind" ] = %highrise_fencetarp_01_wind;
}
else
level._anim_prop_models[ model ][ "wind" ] = "highrise_fencetarp_01_wind";
}