Page MenuHomeFeedback Tracker

Alternative syntax to moveInAny
New, NormalPublic

Description

I'd like to request an alternative syntax to moveInAny command to select the seat you want to move into. Reason why other commands like moveInDriver, moveInTurrets, etc. don't suffice is because they do gameplay sanity checks like vehicle being alive, seat locked and also vehicle being upside down, while moveInAny doesn't check any of this, which is useful for scripts when you need to move into vehicle regardless of these gameplay limits.

How I see it working:

UNIT moveInAny [VEHICLE, SEAT]
With seat being either array or number:
SEAT: [-1] - Driver
SEAT: [0+,[0+]] - Turret
SEAT: Positive NUMBER - Passenger
SEAT: Negative NUMBER - Positive seat index, but canRessign flag behaviour of moveInCargo

Examples:
player moveInAny [car, 0] - will move player into first passenger seat of the car, even if its upside down or dead
player moveInAny [car, -0] - will move player into first passenger seat of the car, but if seat #0 is occupied, try to move into any other free seat
player moveInAny [car, [-1]] - will move player into driver of the car, even if its upside down or dead

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

SaMatra created this task.Fri, May 3, 7:57 AM