setthread in bomber.scr
Posted: Mon Sep 29, 2003 5:57 pm
In the global/bomber.scr is says
key: #set
value: 1
key: setthread
value: bombpatch
I have done this but can't get it to work I have used setthread and $setthread neither works right now I have a info_splinepath first node $targetname bomber for the bomb this works the bomb drops but the thread won't work I have the level.script = line in my script . I can't find out what's wrong .You can make the planes drop bombs by setting up similar paths using the model "ammo/us_bomb.tik", and the first spline on the path has targetname "bomber". Both the "bomber" and the "bomberpath" entities are given the same #set value, to associate them. You can give the bombers a $setthread value to make them run a thread in the level.script upon impact. They automatically do an explosion when they reach the end of their path.
key: #set
value: 1
key: setthread
value: bombpatch

