Home   Help Search Login Register  

Author Topic: Which Flag?  (Read 856 times)

0 Members and 1 Guest are viewing this topic.

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Which Flag?
« 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.
« Last Edit: 30 Apr 2005, 09:52:32 by THobson »

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Which Flag?
« Reply #1 on: 30 Apr 2005, 10:06:47 »
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:

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Which Flag?
« Reply #2 on: 30 Apr 2005, 17:31:27 »
Thanks - that's what I eventually did do.  It would have been really ugly without an array.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Which Flag?
« Reply #3 on: 30 Apr 2005, 17:39:18 »
Just solve the thread man.

:beat: *Gets Shot* :beat:

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Which Flag?
« Reply #4 on: 30 Apr 2005, 17:52:30 »
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.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Which Flag?
« Reply #5 on: 30 Apr 2005, 17:59:12 »
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
« Last Edit: 30 Apr 2005, 18:00:37 by dmakatra »

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Which Flag?
« Reply #6 on: 30 Apr 2005, 18:17:05 »
Of which 2864.97 are moaning about people not solcing threads

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Which Flag?
« Reply #7 on: 03 May 2005, 04:07:13 »
* Sui uses his admin hax to halve Armty's post count

;)

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Which Flag?
« Reply #8 on: 03 May 2005, 07:43:21 »
I think that's an indication it is time to solve this thread
« Last Edit: 03 May 2005, 07:45:24 by THobson »