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 »whats wrong with this script??!!

Author Topic: whats wrong with this script??!! (6 messages, Page 1 of 1)
Moderators: Dennis

G TheFlea
Joined: Sep 19, 2008

CANADIAN


Posted: Nov 6, 2009 11:06 PM    Msg. 1 of 6       
hey guys a while ago i asked how to make my AI's run across my map towards each other.
i tried what someone said and changed it a little to make it fit with my scenario, and now im getting a few simple errors that stop tool from building the map.
in sapien the first time i compiled scripts it gave me this:

11.06.09 21:53:23 [behaviour line 2] this is not a valid function or script name.: ai_magically_see_encounters reconz squads)

11.06.09 21:53:23 recompiling scripts after scenarios were merged.
11.06.09 21:53:23 [behaviour line 1] this left parenthesis is unmatched.: (script startup battle

1. what does the line 2 error mean?
2. so the line 1 error means that there is no closing perenthesis correct?
well here is the script to prove that it MAKES NO SENCE!!!!


(script startup battle
(ai_magically_see_encounters reconz squads)
(sleep_until (= (ai_living_count squads) 0) 15)
(ai_magically_see_encounters reconz jackals1)
(sleep_until (= (ai_living_count jackals1) 0) 15)
(ai_magically_see_encounters reconz 1337z)
)


HELP!!

P.S. please ignore the odd encounter names.

Edited by theflea on Nov 6, 2009 at 11:12 PM


Sinow
Joined: Apr 22, 2009

Everybody Lies


Posted: Nov 6, 2009 11:20 PM    Msg. 2 of 6       
You put encounters, not encounter. Only one S.


G TheFlea
Joined: Sep 19, 2008

CANADIAN


Posted: Nov 6, 2009 11:21 PM    Msg. 3 of 6       
you just contradicted yourself...so which is it..is it encounter with no s, or entounters with only one s??


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Nov 6, 2009 11:24 PM    Msg. 4 of 6       
No s.


sargejohnson
Joined: Apr 20, 2009

Shall we play a game?


Posted: Nov 7, 2009 03:15 AM    Msg. 5 of 6       
Quote: --- Original message by: theflea


(script startup battle
(ai_magically_see_encounters reconz squads)
(sleep_until (= (ai_living_count squads) 0) 15)
(ai_magically_see_encounters reconz jackals1)
(sleep_until (= (ai_living_count jackals1) 0) 15)
(ai_magically_see_encounters reconz 1337z)
)



Edited by theflea on Nov 6, 2009 at 11:12 PM


it is supposed to be "ai_magically_see_encounter", not "ai_magically_see_encounters".


G TheFlea
Joined: Sep 19, 2008

CANADIAN


Posted: Nov 7, 2009 09:37 AM    Msg. 6 of 6       
thats weird, visual C# and my java console dont do that...
anywayz thanks guys its working perfectly!

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 9:06 PM 125 ms.
A Halo Maps Website