OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: mikeb on 24 Aug 2002, 23:47:00
-
Can anyone please explain how the setobjecttexture command to me.
I looked at the BIS forum and put.....
this setobjecttexture [0,"rus_vlajka.pac"]
... into the init of a 5t truck but nothing happened.
Any idea what's going wrong and what other vehicles can be used with the command.
-
what are you trying to do?
-
I'm not actually that sure!
I was just trying to test what the command did. Apparently it adds the specified jpg or whatever as a texture on the side of the vehicle, and apparently it works on the 5t truck, but I don't see anything when I try it.
-
it sets the texture of the flags lol, usa_vlajka.pac makes it a usa flag
while rus_vlajka.pac sets it russian
-
yep, it does.... this is taken from an init field of my truck with a medic patch on
this setobjectexture [0, "\flags\redcross.jpg"
im using the offical flag pack.... just replace the flags bit with the russian one...
:thumbsup:
-
So are the flags meant to appear on the side of the truck? Because I still don't see them
-
Messiah, did you use the normal west 5t truck?
-
they only work on certain trucks - 5t covered, civil truck, URAL
-
Working now!
God knows what was going wrong..
Cheers all