
Jobalisk
Joined: Feb 8, 2014
The haiku master。
|
Posted: Jun 13, 2014 09:23 PM
Msg. 1 of 3
I've got a bit of a problem. I'm trying to make a script that triggers when the player enters a banshee on single player. the banshee is called ban1. does anyone know of a line of code that will sleep until the player enters the banshee?
|

altis94
Joined: Oct 5, 2012
Join my Discord https://discord.gg/GDVEaRD
|
Posted: Jun 13, 2014 10:47 PM
Msg. 2 of 3
I believe you could use (vehicle_test_seat <vehicle> <string> <unit>)
|

MatthewDratt
Joined: Sep 11, 2010
TAKEDOWN IS OUT MattDratt.com
|
Posted: Jun 13, 2014 10:48 PM
Msg. 3 of 3
(script static unit player0 (unit (list_get (players) 0)) )
(script startup 1 (sleep_until (vehicle_test_seat ban1 "B-driver" player0)) (game_save) ) Edited by MatthewDratt on Jun 13, 2014 at 10:49 PM
|