Jump to content
rogerblower

[SOLVED] setVehicleInit say3d don't work

Recommended Posts

Hi guys
my script doesn't work, does anyone know what's wrong?

 

_ObjCar = createVehicle ["C_Hatchback_01_sport_F", getMarkerPos "car", ["car1", "car2"], 0, "NONE"];

_ObjCar setVehicleInit "this say3D ["cars",50,1]";
processInitCommands;

In Eden Editor, vehicle init works well...

Share this post


Link to post
Share on other sites
44 minutes ago, rogerblower said:

_ObjCar setVehicleInit "this say3D ["cars",50,1]";

 

syntax error there with the quotation marks

 

try:

 

_ObjCar setVehicleInit "this say3D ['cars',50,1]";

 

Share this post


Link to post
Share on other sites
20 minutes ago, gc8 said:

 


_ObjCar setVehicleInit "this say3D ['cars',50,1]";

 

 

It doesn't work.

 

Share this post


Link to post
Share on other sites

target_practice I couldn't get this script to work

 

Does not work

_ObjCar remoteExec ["this say3D ['cars',50,1]"];
_ObjCar remoteExec "this say3D ["cars",50,1]";

I am noob help me please 🙁

Share this post


Link to post
Share on other sites

What exactly do you want?

_ObjCar = createVehicle ["C_Hatchback_01_sport_F", getMarkerPos "car", ["car1", "car2"], 0, "NONE"];
_ObjCar say3D ["cars",50,1];

Why don't you take this way?

Share this post


Link to post
Share on other sites
1 hour ago, POLPOX said:

What exactly do you want?


_ObjCar = createVehicle ["C_Hatchback_01_sport_F", getMarkerPos "car", ["car1", "car2"], 0, "NONE"];
_ObjCar say3D ["cars",50,1];

Why don't you take this way? 

 

Worked perfectly POLPOX
Thank you very much 👋

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

×