• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Help! How to make a Marine Submarine System Moveable in the Sea with w a s d control?
#1
I first created a ship and made the dynamic object move. But I have a question, how can ships or objects be controlled again using the keyboard? like driving a vehicle in general?
  Reply
#2
You can't really make it like driving a vehicle in general, but you can detect buttons being pressed and change the object's position based on that.
Check out Desolation Roleplay, where zombie AI and scavenging is bothered by player bandits!


  Reply
#3
(2021-04-26, 10:48 AM)Awide Wrote: You can't really make it like driving a vehicle in general, but you can detect buttons being pressed and change the object's position based on that.

Yes you can. Simply create a RC Cam or any small vehicle and then use AttachObjectToVehicle. Attach that ship or whatever object you want to drive to the vehicle and use putplayerinvehicle.
But it won't be fully functional because you cannot come out of RC vehicles using enter/F key. So you have to figure out a way for that.
[Image: QIDa2vB.png]

  Reply


Forum Jump: