View Full Version : Vehicle problems on LHD
Jul 12 2009, 18:37
i place a vehicle on the LHD on utes using editor when i play i spawn on the carrier but the vehicle falls through it ... some help please
put this in the vehicle init
this setposASL [getposASL this select 0, getposASL this select 1, 15.9]
Jul 12 2009, 19:18
this setposASL [getposASL this select 0, getposASL this select 1, 9.2]
to place the vehicle in the main cargo hold below deck.
Jul 12 2009, 20:08
ASL = above sea level (e.g.: collision detection?)
Jul 12 2009, 21:27
i do it and it works fine ....thx.... do u no if there is a quicker way to put in the code e.g copy and paste text which i dnt no how to do on this game
Jul 12 2009, 23:41
Copy and paste is the same as in the editor as in windows ctrl C and ctrl V. Or you could create a textdocument, name it init.sqs (without any other file extension such as .txt) and use the aforementioned code there.
You cannot refer to the units in the editor with the word "this" if you chose that method. You must name them in the editor and call them by that name in the script.
Both methods are time consuming. If you are new to this, I'd recommen writing into their init lines in the editor itself.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.