in many SP, and one MP (hunt) maps is some whered code... called by the bsp? How do you call something by BSP? i thought you couldnt code anything in the bsp? Im confused, as ive been many times...
almost_there1:
//called by BSP
local.player = parm.other
if ( (local.player.dmteam != "allies") || (level.perimeter_breached == 1) )
end
iprintlnbold "The Allies have breached the perimeter!"
level.perimeter_breached = 1
end
Simply because the trigger thread is set in the bsp and not with waittill trigger or setthread in the scr. So basically you can say it's "called by bsp".
Click sig to visit the alternation modding community
it is possible to do commands from the bsp for example lets say you have an effect like models\emitters\pipe_steam.tik and it needs for you to do
$mysteam anim start
you can simple put key: anim value: start in the entity window in radaint and it will be turned on in the map I have seen that done also with a water wheel that was a script_object and also a prefab it had a rotation command done that way so all you had to do was put the prefab in your map and tada a working water wheel