ActivateForSeatWeapon
ComponentsVehicle
ActivateForSeatWeapon
Description
Activate the object by pressing the active weapon on the vehicle's seat
Useful when pressing a weapon to switch the HUB sights and such.
Usage
Add to any part of the vehicle object
Comment
Variables
Name | Type | Description |
---|---|---|
seat | Seat | target seat |
objects | GameObject[] | Target objects (objects are sorted in the same order as seat's weapons) |