Hey Guys,
OK I have one billboard that's at the Branibor trader on Origins tavi map.
I would like to replace the billboard image with a different one, however I have managed to surpass the issue where that specific trader items/object would not come into the server but the image still is not showing on the billboard!
I have this error in the RPT:
13:29:48 Error in expression <setObjectTexture [0, "safezone.jpg"]>
13:29:48 Error position: <[0, "safezone.jpg"]>
13:29:48 Error Missing ;
13:29:48 Error in expression <setObjectTexture [0, "safezone.jpg"]>
13:29:48 Error position: <[0, "safezone.jpg"]>
13:29:48 Error Missing ;
The line(s) in question are:
_vehicle_176 = objNull; if (true) then { _this = createVehicle ["MAP_Bilboard_Escape", [7391.1621, 4275.0376, -1.1444092e-005], [], 0, "CAN_COLLIDE"]; _vehicle_176 = _this; _this setDir -48.645615; _this setVehicleInit "setObjectTexture [0, ""safezone.jpg""]"; _this setPos [7391.1621, 4275.0376, -1.1444092e-005]; };
The safezone.jpg is in the mission root, I am guessing this is the right place to put it or would I have to have it in the server.pbo (kinda makes sense too, but what path would I put?)
I have also tried this:
_vehicle_176 = objNull; if (true) then { _this = createVehicle ["MAP_Bilboard_Escape", [7391.1621, 4275.0376, -1.1444092e-005], [], 0, "CAN_COLLIDE"]; _vehicle_176 = _this; _this setDir -48.645615; _this setVehicleInit "setObjectTexture [0, ""\z\addons\dayz_server\map_update\safezone.jpg""]"; _this setPos [7391.1621, 4275.0376, -1.1444092e-005]; };
But results in this in the RPT, and does not show in-game:
13:50:57 Error in expression <setObjectTexture [0, "\z\addons\dayz_server\map_update\sa>
13:50:57 Error position: <[0, "\z\addons\dayz_server\map_update\sa>
13:50:57 Error Missing ;
13:50:57 Error in expression <setObjectTexture [0, "\z\addons\dayz_server\map_update\sa>
13:50:57 Error position: <[0, "\z\addons\dayz_server\map_update\sa>
13:50:57 Error Missing ;
I don't see where I am missing an ;
Sorry for being noob, not added an image like this before!
Kind regards,
Pry