23 lines
536 B
Plaintext
23 lines
536 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_09";
|
||
|
if ( SP )
|
||
|
{
|
||
|
level.anim_prop_models[ model ][ "wind" ] = %highrise_fencetarp_09_wind;
|
||
|
}
|
||
|
else
|
||
|
level.anim_prop_models[ model ][ "wind" ] = "highrise_fencetarp_09_wind";
|
||
|
}
|