OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Speeder on 12 Apr 2005, 18:31:48

Title: Drivers for driver and gunners for the gun
Post by: Speeder on 12 Apr 2005, 18:31:48
I need a script which is MP compatible.

It should be so only pilots can get in as drivers and gunners of choppers/planes, and only crew can be driver/gunner on armored vehicles.
Title: Re:Drivers for driver and gunners for the gun
Post by: RujiK on 12 Apr 2005, 18:57:49
Wouldnt be too hard
Just add an event handler and then if
Code: [Select]
?(Driver _vehicle != "CrewIDName):driver _vehicle setpos [0,0,0];Hint"Get outa there!"
Obviously thats pretty vage but I think you get the idea.