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 »scripting help..

Author Topic: scripting help.. (6 messages, Page 1 of 1)
Moderators: Dennis

aZn9ja37
Joined: Apr 13, 2010

....????!!!!!


Posted: Apr 21, 2010 10:55 PM    Msg. 1 of 6       
what is the script for bsp switch? like on a10


Noobyourmom
Joined: Mar 23, 2010


Posted: Apr 22, 2010 01:40 AM    Msg. 2 of 6       
(switch_bsp *bsp number*)

You assign the number to the bsp and add bsps in guerilla, and I think you may have to use Kornman's version.
Edited by Noobyourmom on Apr 22, 2010 at 01:40 AM


aZn9ja37
Joined: Apr 13, 2010

....????!!!!!


Posted: Apr 22, 2010 06:25 PM    Msg. 3 of 6       
what wrong with this script:
(script continuous switchBSP
(begin
(sleep_until (volume_test_objects bspswitchlocation (players)) 15)
(switch_bsp 1)
)
)

Every time i enter the trigger volume i pop up outside the map instead of the directed bsp


Noobyourmom
Joined: Mar 23, 2010


Posted: Apr 22, 2010 07:57 PM    Msg. 4 of 6       
Sounds like you're doing good so far. The bsp changes, but the player location doesn't, so you'll also want a command to teleport the player. Use the command:

(volume_teleport_players_not_inside *trigger name* *cutscene_flag name*)

Make sure the player cannot be inside of the trigger when you switch bsps, and put the cutscene flag in the position and direction you want the player to spawn in the new bsp.


aZn9ja37
Joined: Apr 13, 2010

....????!!!!!


Posted: Apr 25, 2010 07:53 PM    Msg. 5 of 6       
when i compile scripts in sapien it says "i expected a globals or scripts" for some reason


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Apr 25, 2010 08:11 PM    Msg. 6 of 6       
Your script requires a header around the body. A header being:


(script [script type] [script name]


Fill in the blanks, or text surrounded by brackets.

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 1:56 PM 110 ms.
A Halo Maps Website