I've implemented this in my version.
Here's the diff:
(stringtable needs localization, but that's all.)
It's activated through the "6" action menu commands,
and it works great.
File "stringtable.csv"
Global id: 0-1
Type: header
Checksum: old = 0x5db018; new = 0x5ddd74
CRC: old = 0x6985706c; new = 0x4b61b4bb
Changes:
Edited
File edits:
Old New
line line Contents or number of unchanged lines
no. no.
-----------------------------------------------------
0 0 680 line(s)
680 --
-- 680 STRACTIONLANDAI,AI Land,**AI Land,**AI
Land,**AI Land,**AI Land
STRACTIONLANDAIGETIN,AI Hover Low,**AI Hover Low,
**AI Hover Low,**AI Hover Low,**AI Hover Low
File "Main\AddVehicleToPlayer.sqs"
Global id: 0-68
Type: source
Checksum: old = 0x115c35; new = 0x11a0be
CRC: old = 0xae877f67; new = 0xe06bfe88
Changes:
Edited
File edits:
Old New
line line Contents or number of unchanged lines
no. no.
-----------------------------------------------------
0 0 189 line(s)
-- 189 ;This is something I've wanted for a
LOOOONG time, and not just here. (MaHuJa)
? (_unittype in westAir || _unittype in eastAir) :
_newVehicle addAction [Localize "STRACTIONLANDAI",
"main\heloland.sqs"]
189 192 109 line(s)
File "Main\heloland.sqs"
Global id: 0-dc
Type: source
Checksum: old = 0x0; new = 0x3383
CRC: old = 0x0; new = 0x14a83bbc
Changes:
Newly created
File contents:
_vehicle = _this Select 0
_unit = _this Select 1
_action = _this Select 2
_vehicle land "land"
;The vehicle will now land, and shut down its engines.
File "Main\HeloLandGetIn.sqs"
Global id: 0-dd
Type: source
Checksum: old = 0x0; new = 0x39e6
CRC: old = 0x0; new = 0xb6f32a44
Changes:
Newly created
File contents:
_vehicle = _this Select 0
_vehicle land "get in"
;The helicopter should now land, or hover very close to
the ground, so that the player can enter and exit at will.
Logged In: YES
user_id=206105
.... HOLD IT!!!
Don't just apply that one... While it works great, it is always
present, which is not always desirable.
I'll make a different one using eventhandlers.