AI Problem! Please help!

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

AI Problem! Please help!

Post by mohaa_rox »

Help! I've got a problem with my AI. They don't move and shoot!
Surgeon
Site Admin
Posts: 1386
Joined: Tue Jun 04, 2002 1:15 am
Location: Stirling, Scotland
Contact:

Post by Surgeon »

you need to have

exec global/ai.scr

in your script file
Admin
Image

.map Forums

Truth and Honor.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

No you don't.

You need to prefix 'test' to your mapname or read this tutorial.

The global/ai.scr has a misleading name and is only used for triggers with targetname 'enemyspawner' and meant for automatic spawning of enemies. Most developers of single player scripts didn't use this script correctly either ;).
Image
Surgeon
Site Admin
Posts: 1386
Joined: Tue Jun 04, 2002 1:15 am
Location: Stirling, Scotland
Contact:

Post by Surgeon »

I stand corrected :oops:
Admin
Image

.map Forums

Truth and Honor.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Never mind, it's probably the #1 scripting misunderstanding :).
Image
Post Reply