Home   Help Search Login Register  

Author Topic: HALO Help  (Read 2514 times)

0 Members and 1 Guest are viewing this topic.

Offline monty67t

  • Members
  • *
HALO Help
« on: 10 Jun 2009, 07:55:00 »
I could use a little help from you guys on something. I'm trying to create a mission where players can perform HALO jumps over and over even after they die and respawn. When placing the following in the units initialization he can perform a HALO jump, but only once.

[this] exec "ca\air2\halo\data\Scripts\HALO_getout.sqs"

Someone told me to try this:
Quote
Try it this way, create a init.sqf in the mission folder which contains this:
[] execVM "halo.sqf";

And put this into the halo.sqf
while {true} do {
waitUntil {!alive player};
_p = player;
waitUntil {alive player};
_p = player;
_p exec "ca\air2\halo\data\Scripts\HALO_getout.sqs";
};

For some reason its not working. Any help with this is greatly appreciated.

Thanks,
Monty

Offline SharkDog

  • Members
  • *
Re: HALO Help
« Reply #1 on: 10 Jun 2009, 11:27:15 »
ca\air2\halo\data\Scripts\HALO_getout.sqs

I think that's the problem.

Offline JamesF1

  • Editors Depot Staff
  • *****
    • JamesBurgess.co.uk
Re: HALO Help
« Reply #2 on: 10 Jun 2009, 15:48:33 »
In what way?  It helps if you give at least some reasoning to your statements.
« Last Edit: 10 Jun 2009, 16:49:43 by h- »

Offline monty67t

  • Members
  • *
Re: HALO Help
« Reply #3 on: 10 Jun 2009, 19:00:12 »
ca\air2\halo\data\Scripts\HALO_getout.sqs

I think that's the problem.

Not trying to be rude, but that doesn't explain anything to me. Why do you think this is the problem?

Offline loki72

  • Former Staff
  • ****
    • Loki's Nightmare
Re: HALO Help
« Reply #4 on: 10 Jun 2009, 19:02:14 »
here are some demo missions with HALO examples.. one is mapclick and the other is from a plane.

Beispiel #1: HALO-Absprung (v1.0)
http://cyborg11.cy.funpic.de/downloads/ArmA2/HALO-Absprung.utes.7z

Beispiel #2: HALO-Jump per Mapclick (v1.0)
http://cyborg11.cy.funpic.de/downloads/ArmA2/HALO-Absprung-Mapclick.utes.7z

source:
http://www.g-g-c.de/forum/showthread.php?p=107093
(top of page)

hope it helps

« Last Edit: 10 Jun 2009, 19:13:53 by loki72 »

Offline monty67t

  • Members
  • *
Re: HALO Help
« Reply #5 on: 10 Jun 2009, 19:57:36 »
@Loki72
Thanks for posting those. I will take a look at them and report back my findings.

EDIT: I was able to find exactly what I needed in one of those sample missions. Thanks again for posting them Loki72!

For anyone else trying to figure out how to HALO over and over again, here's what works for me.

Use this script in your mission folder:
Code: [Select]
;
********************************************
; Script File for ArmA2
; Made by: Cyborg11
; Version: 1.0
; ********************************************

_unit = _this select 1;
;hint format ["%1",_unit];

_unit action ["eject",MV22];
[_unit] exec "ca\air2\halo\data\Scripts\HALO_getout.sqs";

Then on the aircraft your unit will be jumping from put the following in the initialization:

Code: [Select]
this addaction ["HALO","halojump.sqs"];
For this example, the name of my aircraft is MV22. If you change the name of the aircraft you will need to change it in the script as well.
« Last Edit: 10 Jun 2009, 21:14:48 by monty67t »