Page MenuHomeFeedback Tracker

Vehicle in Vehicle Transportation Event Handlers
New, NormalPublic

Description

Unlike in previous updates, the new funtionality to store vehicles inside other vehicles does not come with its associated event handers (according to the wiki). With the new rope tech, we got the "ropeAttach" and "ropeBreak" eventhandlers, but alas, there is no equivalent for the new tech.

Therefore I propose that the following eventhandlers be added in order to make managing vehicle cargo via scripts easier:

Name: "VehicleCargoLoaded"
Description: Fires when the vehicle the EH is attached to is loaded into another vehicle
Passed Parameters:

  • vehicle: Object - vehicle being loaded
  • carrier: Object - vehicle that is receiving load

Name: "VehicleCargoUnloaded"
Description: Fires when the vehicle the EH is attached to is unloaded from another vehicle
Passed Parameters:

  • vehicle: Object - vehicle being unloaded
  • carrier: Object - vehicle that is dropping load
  • parachute: Object - parachute object that the dropped vehicle is attached to (or null if no parachute)

Name: "VehicleCargoLoadedCarrier"
Description: Fires when another vehicle is loaded into the vehicle the EH is attached to
Passed Parameters:

  • carrier: Object - vehicle that is receiving load
  • vehicle: Object -vehicle being loaded

Name: "VehicleCargoUnloadedCarrier"
Description: Fires when another vehicle is unloaded from the vehicle the EH is attached to
Passed Parameters:

  • carrier: Object - vehicle that is dropping load
  • vehicle: Object - vehicle being dropped
  • parachute: Object - parachute object that the dropped vehicle is attached to (or null if no parachute)

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
Scripting

Event Timeline

MuseIllusion updated the task description. (Show Details)Aug 1 2016, 5:03 PM