Jump to content
Sign in to follow this  
Graz

Add Event Handlers to a vehicle without using init

Recommended Posts

The RPG I run is similar to dayz/life, with mysql making the "instance" save over a reset.

The issue is I can't store a vehicle init, over a restart.

Basically a I have a force first person script, I was intending this to be on vehicles Init, but that's no longer an option.

//Force first person

while {vehicle player iskindof "airasset"} do {

if(cameraView == "EXTERNAL" || cameraView == "GROUP") then {

vehicle player switchCamera "INTERNAL";

};

sleep 0.2;

};

I need the mission file to enforce this, not an additional addon or client config changes.

My current thoughts:

Event handler

Game Logic

Trigger (Last resort as MP lag could be an issue!!)

Does anyone know a way to get this script into the game through mission files!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×