Quick Q - DM and SP maps
Posted: Mon Jan 14, 2008 10:12 pm
I'm having problems getting a basic ai to work. I can get them to spawn, but the stand and make faces. One moved when I chucked a grenade at his face, but got stuck halfway into his running animation and just died when the grenade went off. I have my map in with all my DM maps, is that all right? Any other advice is appreciated.
CAUTION: didn't take the time to shrink and left as .bmp

CAUTION: didn't take the time to shrink and left as .bmp

I just copied Lizard Kid (Reptillian Mappers's) script ... I don't see anything about connection the script to the map, and I noticed I didn't get any weapons at start? I named my map "SHaiTest". All this scripting stuff is foreign to me, I want my old DM standard script back...//AI Tut
//script and map by blue60007
exec global/ai.scr //starts up the ai stuff
waittill prespawn
waittill spawn
$player item weapons/mp40.tik//give player the MP40?
$player ammo smg 128//give player 128 rounds of SMG ammo
$player useweaponclass smg//switch to the SMG
//spawn #set #group when corresponding #set is triggered
thread global/ai.scr::spawngroup #1 #1
thread global/ai.scr::spawngroup #1 #2
thread global/ai.scr::spawngroup #1 #3
//trigger set 100
trigger100:
//spawns all AI with #set/100
thread global/ai.scr::spawnset 100 spawn100
end