
FtDSpartn
Joined: May 1, 2009
Verified AI.
|
Posted: Jul 19, 2009 11:25 PM
Msg. 1 of 8
Hey,its me,and i need help with my script.I'm not very good at scripts,but im trying to make it so my spartan AI gets into a warthog driver seat. The encounter is spartandrive, the name of the warthog is warthog,please help! (By vehicle_Load_magic) 07.19.09 20:23:03 [Spartanhog line 9] this is not a valid object name.: spartandrive W-driver warthog)
07.19.09 20:23:03 recompiling scripts after scenarios were merged. 07.19.09 20:23:03 [Spartanhog line 8] this left parenthesis is unmatched.: (begin
Edited by FtDSpartn on Jul 19, 2009 at 11:31 PM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jul 19, 2009 11:42 PM
Msg. 2 of 8
Show us your entire script. And the syntax for (vehicle_load_magic is (vehicle_load_magic [VEHICLE NAME] [SEAT] [OBJECT])
|
|
|

FtDSpartn
Joined: May 1, 2009
Verified AI.
|
Posted: Jul 19, 2009 11:48 PM
Msg. 3 of 8
Stupid me i thoguht it was (vehicle_load_magic [Unit] [Seat] [Vehicle name]) ill test it. E: :( nope,heres my script now: (script startup spartanenter (begin (vehicle_load_magic warthog W-driver spartandrive) ) ) E2: Hmmm,when i name a biped "hog",it works,but when i type the name of my encounter,it doesnt.... Edited by FtDSpartn on Jul 20, 2009 at 12:00 AM
|
|
|

Mythril
- Screenshot Guru -
Joined: Mar 29, 2008
Jeffrey Albert Waldo
|
Posted: Jul 20, 2009 02:23 AM
Msg. 4 of 8
instead of spartandrive, put (ai_actors spartandrive).
So the final command would be:
vehicle-load_magic warthog W-driver (ai_actors spartandrive)
|
|
|

FtDSpartn
Joined: May 1, 2009
Verified AI.
|
Posted: Jul 20, 2009 02:44 AM
Msg. 5 of 8
Thanks so much,i have been trying to get it to work..Thanks!  E: Didnt work..... Edited by FtDSpartn on Jul 20, 2009 at 02:49 AM
|
|
|

FtDSpartn
Joined: May 1, 2009
Verified AI.
|
Posted: Jul 20, 2009 06:32 AM
Msg. 6 of 8
Something about the lines being unmatched...
|
|
|

sierra117
Joined: Jan 10, 2008
If sex is good exercise, why are there fat sluts?
|
Posted: Jul 20, 2009 07:28 AM
Msg. 7 of 8
you mean parenthesis? you just need to put another ")" at the end of the script like so: Quote: vehicle-load_magic warthog W-driver (ai_actors spartandrive)) :)
|
|
|

FtDSpartn
Joined: May 1, 2009
Verified AI.
|
Posted: Jul 20, 2009 03:02 PM
Msg. 8 of 8
Quote: --- Original message by: L0d3xQuote: --- Original message by: FtDSpartn Something about the lines being unmatched... Debug.txt, the last "paragraph" thing. Paste it here exactly. Find the file in your halo ce root directory. No,because i erased all my debug txt now...but the post above you,would that work? E: Thanks a bunch sierra117! Edited by FtDSpartn on Jul 20, 2009 at 03:20 PM
|
|
|