A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »How do I get AI to follow you around?

Author Topic: How do I get AI to follow you around? (12 messages, Page 1 of 1)
Moderators: Dennis

lil_bankhead
Joined: Dec 12, 2008

What you look'n at huh? I'll bit ya!


Posted: Sep 1, 2009 07:48 PM    Msg. 1 of 12       
Im very confuse about the AI follow tut and I need help I had a script like this

(script startup begin
(ai_follow_target_players follow_chief)
)


and I kept getting this

09.01.09 18:36:01  [follow player line 1] this left parenthesis is unmatched.: (script startup begin

09.01.09 18:36:01 recompiling scripts after scenarios were merged.
09.01.09 18:36:02 this left parenthesis is unmatched.: (script startup begin


please help me!


FtDSpartn
Joined: May 1, 2009

Verified AI.


Posted: Sep 1, 2009 10:40 PM    Msg. 2 of 12       
(script startup begin
(begin
(ai_follow_target_players follow_chief)
)
)
Try this. Im not good at scripts,so i might be wrong.
Edited by FtDSpartn on Sep 1, 2009 at 10:40 PM


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Sep 1, 2009 11:52 PM    Msg. 3 of 12       
Adding the "begin" doesn't necessarily accomplish anything. You shouldn't add "begins" everywhere you feel like it, unless there's a specific situation. In fact, you can go through an entire script, without adding begins except for if clauses and certain others.


lil_bankhead
Joined: Dec 12, 2008

What you look'n at huh? I'll bit ya!


Posted: Sep 2, 2009 04:42 PM    Msg. 4 of 12       
if when I wrote this

(ai_follow_target_players follow_chief)

does that make "follow_chief" is the encounter or the squad?
Edited by lil_bankhead on Sep 2, 2009 at 04:54 PM


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Sep 2, 2009 08:44 PM    Msg. 5 of 12       
Encounter. To refer to the squad, you would add a dash after the encounter, and then add the squad's name. A single word reference always refers to the encounter.


lil_bankhead
Joined: Dec 12, 2008

What you look'n at huh? I'll bit ya!


Posted: Sep 3, 2009 07:36 PM    Msg. 6 of 12       
like this?
(script startup begin
(begin
(ai_follow_target_players follow_chief-.-arby_follow_chief)
(ai_follow_target_players follow_chief-.-follow_chief)
)
)


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Sep 3, 2009 08:54 PM    Msg. 7 of 12       
What's '-.-'?

Oh, and above, I meant backslash.


lil_bankhead
Joined: Dec 12, 2008

What you look'n at huh? I'll bit ya!


Posted: Sep 3, 2009 10:28 PM    Msg. 8 of 12       
Quote: --- Original message by: Gamma927
What's '-.-'?

Oh, and above, I meant backslash.

im confuse


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Sep 3, 2009 10:37 PM    Msg. 9 of 12       
Use a backslash to separate the AI encounter and the squad.


lil_bankhead
Joined: Dec 12, 2008

What you look'n at huh? I'll bit ya!


Posted: Sep 5, 2009 06:47 PM    Msg. 10 of 12       
Quote: --- Original message by: Gamma927
Use a backslash to separate the AI encounter and the squad.


you mean like this?

(script startup begin
(begin
(ai_follow_target_players follow_chief--arby_follow_chief)
(ai_follow_target_players follow_chief--follow_chief)
)
)


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Sep 5, 2009 07:16 PM    Msg. 11 of 12       
That's not a backslash...

You know, there's something called "Google". You can search "backslash" if you don't know what it means.


teknoman117
Joined: Jul 21, 2009


Posted: Sep 6, 2009 06:06 PM    Msg. 12 of 12       
A backslash is "/" as in (ai_follow_target_players follow_chief/arby_follow_chief)

 

 
Previous Older Thread    Next newer Thread







Time: Fri January 20, 2023 3:46 PM 141 ms.
A Halo Maps Website