
milkkookie
Joined: Aug 10, 2010
:)
|
Posted: Dec 18, 2010 09:02 PM
Msg. 1 of 7
is this the script and if it is is this how i do it (vehicle_load_magic [VEHICLE] [SEAT] (ai_actors [AI])) after (vehicle_load_magic [warthog] [driver] (ai_actors [elite]))
warthog=vehicle driver=seat elite=AI encounter Edited by milkkookie on Dec 18, 2010 at 09:03 PM Edited by milkkookie on Dec 18, 2010 at 09:06 PM
|
|
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Dec 18, 2010 09:28 PM
Msg. 2 of 7
(vehicle_load_magic hog1 W-driver (ai_actors elite/W1drive))
hog1=warthog w-driver= driver seat elite/w1drive= ai encounter with squad and one guy in it
|
|
|

milkkookie
Joined: Aug 10, 2010
:)
|
Posted: Dec 18, 2010 09:40 PM
Msg. 3 of 7
thankz 
|
|
|

Muscl3r
Joined: May 22, 2010
dont pray 4 easy lives...pray to be STRONGER MEN
|
Posted: Dec 18, 2010 09:45 PM
Msg. 4 of 7
np
do elites have anims for entering a warthog????
|
|
|

milkkookie
Joined: Aug 10, 2010
:)
|
Posted: Dec 18, 2010 10:15 PM
Msg. 5 of 7
yes, their the cmt elites v2 but i got a problem compiling the scripts
12.18.10 19:19:40 i expected "script" or "global".: vehicle_load_magic hog1 W-driver (ai_actors elite/W1drive))---<SñU,j 12.18.10 19:19:40 recompiling scripts after scenarios were merged. 12.18.10 19:19:40 i expected "script" or "global".: vehicle_load_magic hog1 W-driver (ai_actors elite/W1drive))---<SñU,j
Edited by milkkookie on Dec 18, 2010 at 10:51 PM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Dec 18, 2010 11:05 PM
Msg. 6 of 7
You didn't put a header for the script. Every script must have a header: (script "script type" "script name" (MAIN BLOCK OF SCRIPT) ) You can replace script name with whatever you want, although if it has spaces, it must have quotations around it. For script type, either use a startup script for a script that begins as soon as the map is loaded, a dormant for a script that has to be woken (through the wake command), a continuous script that is continuously executed throughout the map, or a static void, essentially a script declaration that creates a new script command. For your script, just use a startup. So, it'd look like: (script startup scriptname (vehicle_load_magic hog1 "" (ai_actors elite/W1drive)) )
|
|
|

milkkookie
Joined: Aug 10, 2010
:)
|
Posted: Dec 19, 2010 12:24 AM
Msg. 7 of 7
scripts succesfully copiled merry Christmas to you two
|
|
|