I have two stormtroopers that drop from spawns on the ceiling and are supposed to fire at each other. This USED to work... (and according to ParSec it still should)
Here is the template:
Code:
Sleep(3.0); CreateThing(boom, spawn0); CreateThing(boom, spawn1); Sleep(0.5); bio0=CreateThing(biotroop, spawn0); bio1=CreateThing(biotroop, spawn1); ClearActorFlags(player, 0xa00000); SetDebugModeFlags(0x1); Sleep(1.5); AISetLookPos(bio0, GetThingPos(bio1)); AISetLookPos(bio1, GetThingPos(bio0)); Sleep(1.5); ClearDebugModeFlags(0x1); AISetMode(bio0, 0x202); AIClearMode(bio0, 0x1004); AISetMode(bio1, 0x202); AIClearMode(bio1, 0x1004); AISetFireTarget(bio0, bio1); AISetFireTarget(bio1, bio0); AISetMode(bio0, 0x2); AISetMode(bio1, 0x2);
Here is the template:
Code:
cbm _humanactor thingflags=0x20000400 model3d=st.3do puppet=st.pup soundclass=st_s1.snd maxvel=.25 weapon=+elaser weapon2=+st_punch health=10 maxhealth=10 maxthrust=1 maxrotthrust=90 typeflags=0x20001 fireoffset=(.0048/.05/.012) aiclass=st_def.ai