OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: THobson on 30 Apr 2005, 09:50:01
-
I have many flagpoles but only two textures. The flagpoles change texture under certain conditions. Is there a way I can check which texture is on a particular flagpole without using global variables to keep track of every change?
I thought the command flag would help me but it returns the flagpole not the texture.
-
I don't think so but I'd recomend going for arrays instead of global variables. Arrays are no doubt one of the most powerful things you can use in OFP.
:beat: *Gets Shot* :beat:
-
Thanks - that's what I eventually did do. It would have been really ugly without an array.
-
Just solve the thread man.
:beat: *Gets Shot* :beat:
-
Hang on. It is only you and me that think we can't detect the texture of a flag. I was planning to wait a while to see if anyone else had a solution.
-
Grandpa Noon gives me a quarter for every thread I convince people to solve. :(
:beat: *Gets Shot* :beat:
EDIT: [size=20]3000 POSTS, SUCKERS![/size] ;D
-
Of which 2864.97 are moaning about people not solcing threads
-
/me uses his admin hax to halve Armty's post count
;)
-
I think that's an indication it is time to solve this thread