OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: cokeleyRTF on 02 Apr 2004, 15:30:32
-
im trying to use a custom flag in a ctf but cant find a tutorial please help me ???
-
Do you mean set what the flag looks like?
If so use,
this setFlagTexture "nameoffile.ext"
this = put in init feild of flag or change to name of flag (flag has to be named)
nameoffile = the name of the file that you want to be displayed on the flag
ext = the extension of the file above.. JPEG or PAA i think
Rhys
-
or you can use this( if you got OFP-R 1.75+)
this setflagtexture "\FLAGS\(COUNTRY).jpg"
Ex.
this setflagtexture "\FLAGS\usa.jpg" will make an USA flag
most countries are in the flags.pbo from OFP-R 1.75+ :D
hope i could be of help...