This document explains how to use all Drivable Vehicle for Unreal Engine 4.23 and later. If you have any questions, please contact us.
Game Mode Setup;
Select Game mode folder
Siren Light Setup;
You can duplicate siren lights as many times as you want, after that you must add the lights to Event Graph and connect pins to the “Set Visibility” like that;
Then you need to group the siren lamps you added and connect them to the appropriate Set Intensity pin;
This is the option to get on/off the vehicle on all vehicles.
This is the option to get on/off the vehicle in the Character Blueprint
If you want to run these codes in your own Player Controller Blueprint;
You should transfer the following codes in "BP_VehiclePC" to your own Player Controls.
Then it will be enough to update the Cast To BP_VehiclePC Nodes in the vehicles and the character.
Changing the Player Controller;