Results 1 to 5 of 5

Thread: falling from sky

  1. #1

    falling from sky

    What script do i need to start the game where my character is doing a halo jump from 5000 metres? I tried looking up the script on the wikipedia but got pretty lost with anything that looked like it did the trick. I don't want to have a plane or chopper just have the man falling
    Video editor 3d animator and Voice actor

  2. #2
    Code:
    [player, 2000] exec "ca\air2\halo\data\Scripts\HALO_init.sqs"
    Player will be in 2000 meters.

  3. #3
    Yep use the above line of code, changing the number at the beginning for how high you want to spawn in metres.

    If you're looking for a respawn HALO jump:

    Quote Originally Posted by Fuzzy Bandit View Post
    Ok add this to the init of your unit:
    Code:
    _xhandle = this addEventHandler ["killed", "_this execvm 'respawn.sqf'"];
    Then, create a file called respawn.sqf and add this to it:
    Code:
    _unit = _this select 0;
    
    waituntil {alive player};
    
    _unit = player;
    [_unit, 5000] exec "ca\air2\halo\data\Scripts\HALO_init.sqs";

  4. #4
    Gunnery Sergeant Archamedes's Avatar
    Join Date
    Jul 5 2009
    Location
    UK
    Posts
    542
    Author of the Thread
    That first code

    [player, 2000] exec "ca\air2\halo\data\Scripts\HALO_init.sqs"

    Do you put this in the init field or is that a script document you put in the mission folder

    edit. i just tested it and it works fine thanks. also thanks for the respawn tip
    Last edited by Archamedes; May 16 2010 at 17:20.

  5. #5
    No problems - considering using it for my own PvP mission! ^_^


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •