Page MenuHomeFeedback Tracker

[JetZ] Units won't mount an AA with existing scripting commands
New, NormalPublic

Description

  • AA (like the Praetorian) can be placed empty as a pure empty staticWeapon in 3DEN
  • AA can be manned with an AI in 3DEN, the AI will show up as gunner
  • AA can be manned with a player object in 3DEN, the player is put into the AA and an interface is shown
  • AA can be manned with createVehicleCrew

While all of these options are working with 3DEN, during mission runtime a formerly empty AA cannot be manned by regular AI.

Usecase: As a mission maker, I want to create a scenario where a formerly empty AA is mounted by an AI during the mission, in a scripted way (outside of 3DEN).

Details

Severity
Tweak
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
Scripting
Steps To Reproduce

Repro:

set up an AA (f.e. Praetorian) and a player.

_praetorian = yourPraetorian;

_turretPaths = allTurrets _praetorian; //[[0]]
_turretPath = _turretPaths select 0; //[0]

_praetorian enablePersonTurret [_turretPath, true]; // optional
player assignAsTurret [_praetorian, _turretPath]; //optional
player moveInTurret [_praetorian,_turretPath]; //should work but doesn't

//player moveInCommander _praetorian; //ofc doesn't work
//player moveInGunner _praetorian;  //should work imho
//player moveInDriver _praetorian; //should not work
Additional Information

if you place an empty Praetorian with Zeus and put a unit in, it says the vehicle is full!

I do understand that those staticWeapons are typically unmanned vehicles, but for mission editing purposes one of the commands above should work to keep things streamlined. Every other staticWeapon, which is listed under "turrets" in 3DEN can be manned with something like the above, only AA are excluded, which makes things complicated.

Event Timeline

highhead created this task.Jul 7 2017, 5:21 PM
highhead edited Steps To Reproduce. (Show Details)
highhead edited Additional Information. (Show Details)
highhead updated the task description. (Show Details)Jul 7 2017, 5:24 PM
highhead renamed this task from [JetZ] AA cannot be manned with existing scripting commands to [JetZ] Units won't mount an AA with existing scripting commands.Jul 7 2017, 5:27 PM
highhead updated the task description. (Show Details)Jul 7 2017, 5:31 PM
highhead edited Additional Information. (Show Details)Jul 7 2017, 6:09 PM