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 General Discussion »Some Scripting Help?

Author Topic: Some Scripting Help? (4 messages, Page 1 of 1)
Moderators: Dennis

DarkHalo003
Joined: Mar 10, 2008

All ARs Need Green Little Buttons.


Posted: Jun 15, 2010 06:25 PM    Msg. 1 of 4       
It's more or less curiosity on how to use a potentially EXTREMELY USEFUL script. Here is the command:

(vehicle_test_seat_list )

Ex:
(vehicle_test_seat_list warthog "gunner" (players))

So basically I'm trying to use this script to detect a gunner and once I do initiate a command list. Is what I take the script as true? What script should I use it in?


SlappyThePirate
Joined: Aug 24, 2009

You are irritating, I'll release nothing


Posted: Jun 15, 2010 08:26 PM    Msg. 2 of 4       
If you don't know what some script command does, I do the following:
0- Check the script bible.
1- Compile scripts in sapien with the command only.
(script startup whatdoesthisdo
(command_name)
)
2-Sapien returns text about what it expected, e.g.:
(wtf line 1) command_name requires exactly 2 arguements: blah blah
3-Plug in "stuff" for each argument
(script startup whatdoesthisdo
(command_name player0 true)
)
4-compile, sapien gives you what types it expected, returning whatever.
(wtf line 1) I expected a boolean, but command_name returns
5- Ask on the forums if it's not easy after that.


doompig444
Joined: Mar 22, 2010

Mornië alantië


Posted: Jun 15, 2010 08:35 PM    Msg. 3 of 4       
Actually, for that script, I'd probably make a biped get into a Hog turret, then in Sapien type the command and see if it returns true. If it does, make a Hog without a biped in it, try again, and if that returns false, then it probably IS exactly what it sounds like.

If all of the above works, then use it in a (if =(


DarkHalo003
Joined: Mar 10, 2008

All ARs Need Green Little Buttons.


Posted: Jun 15, 2010 10:32 PM    Msg. 4 of 4       
Quote: --- Original message by: doompig444
Actually, for that script, I'd probably make a biped get into a Hog turret, then in Sapien type the command and see if it returns true. If it does, make a Hog without a biped in it, try again, and if that returns false, then it probably IS exactly what it sounds like.

If all of the above works, then use it in a (if =(

Okay, thank you. I will try that.

 

 
Previous Older Thread    Next newer Thread







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