Scripts don't seem to have effect?

Discuss HaloCE modding with the HEK tools here. For help, go to the Help Desk forum above.
Post Reply

What do you prefer

Belgian beer
0
No votes
Belgian chocolate
2
100%
 
Total votes: 2

L0d3x




Articulatist 250

Posts: 454
Joined: Sat Aug 18, 2007 3:32 am

Scripts don't seem to have effect?

Post by L0d3x »

Alright here's the deal.

I have command lists. I have them linked to the squads the way they should be. I also have scripts. Now the problem is, the scripts don't seem to have an effect?

I set up my command as follows:
Move to point 0
Script (and I chose my script)
Move to point 1

Now my script sais something like (sleep_until(ai_living_count CovenantGuards) 0)

And yes the script compiles. Also in the AI tag I went to scripts and named one of those 'tags' the same as my script.

Can someone tell me why the scripts don't have effect and how to fix it?

If you can help me I will reward you with some fine belgian beer, or if you don't like beer, I will send you over a delightfull pack with belgian chocolates!
User avatar
Andrew_b




Socialist

Posts: 4188
Joined: Sat Feb 24, 2007 4:52 pm
Contact:

Post by Andrew_b »

is your whole command list a script?

and if so...your script should look like this

Code: Select all

(script startup command1
(go_to point 1) ; I dont know this script
(sleep_until(ai_living_count CovenantGuards) 0)
(go_to point 2) ; I dont know this script
)
Post Reply