ArmA 2: Scripting commands
2 posters
United States Intelligence :: Games :: ArmA 2 :: Editing
Page 1 of 1
ArmA 2: Scripting commands
ArmArmA 2: Scripting commands
Quote Maruk :
I uploaded the most recent comand reference to arma2.com until we have it on the Biki.
This is automatically generated ComRef so may not be perfect but I hope it will be useful already.
Quote Maruk :
I uploaded the most recent comand reference to arma2.com until we have it on the Biki.
This is automatically generated ComRef so may not be perfect but I hope it will be useful already.
HALO
mostly for my reference
HALO
HALO
This is how you make your soldier start a mission doing a HALO jump. Put this line into all your group and there you have a whole squad making a jump. Thanks Bohemia Interactive for making awesome games. Continue with your good work!
Here is the code to make them do it and make sure you put it in the init and as I showed in the vid you can change in this case 5000 to 2000 and that will change how high up in the air you will start. Change it to your own likes and start the mission.
- Code:
this setpos [getpos this select 0, getpos this select 1,(getpos this select 2) +5000]; this flyinheight 5000; this setvelocity [0,0,0]; [this] exec "ca\air2\halo\data\Scripts\HALO_init.sqs ";
Re: ArmA 2: Scripting commands
what you put works well, but this code works better and wont generate errors:
where u1 is the unit name and 2000 is the starting altitude. This can be used in a separate script, if you put the code in a units initialization then use
- Code:
[u1, 2000] exec "ca\air2\halo\data\Scripts\HALO_init.sqs"
where u1 is the unit name and 2000 is the starting altitude. This can be used in a separate script, if you put the code in a units initialization then use
- Code:
[this, 2000] exec "ca\air2\halo\data\Scripts\HALO_init.sqs"
United States Intelligence :: Games :: ArmA 2 :: Editing
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum