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 »Script Problem

Author Topic: Script Problem (3 messages, Page 1 of 1)
Moderators: Dennis

Mysterion
Joined: Aug 9, 2008

Nice shot, but too bad your @$$ just got SACKED!!!


Posted: Jun 3, 2010 08:58 PM    Msg. 1 of 3       
I've used the following script to deploy AI from vehicles in a multiplayer map I am working on, by clicking the "Q-key". If you join as a client, everything seems to work as the host, except when you hit the "Q-key", the AI deploy, but you end up bouncing all around the map non-stop. Does anyone have any idea as to why this occurs? And yes, I realize AI don't sync on multiplayer...

(script continuous empty_marinepelican1
(begin
(if
(and
(= (unit_get_current_flashlight_state mp1) true) (= (vehicle_test_seat mp1 P-pilot (unit (list_get (players) 0))) true)
)
(begin
(vehicle_unload mp1 P-riderLF)
(vehicle_unload mp1 P-riderRF)
(vehicle_unload mp1 pelican-gunner)
(unit_enter_vehicle (unit (list_get (players) 0)) mp1 P-pilot)
(unit_set_desired_flashlight_state mp1 false)
(ai_migrate marineassault mfrontline)
(ai_migrate spartanassault mfrontline)
)
)
)
)


Edited by Mysterion on Jun 3, 2010 at 09:03 PM


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Jun 3, 2010 09:40 PM    Msg. 2 of 3       
You're forcing a player to enter the vehicle, but you're forcing the first player, not the client, to enter the vehicle.


Mysterion
Joined: Aug 9, 2008

Nice shot, but too bad your @$$ just got SACKED!!!


Posted: Jun 4, 2010 12:21 AM    Msg. 3 of 3       
Any Remedy to the script file for this...everything works ok until the client player hit Q and he exits the vehicle with the AI and starts bouncing all over the place.

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 10:53 PM 94 ms.
A Halo Maps Website