Home   Help Search Login Register  

Author Topic: Am I going mad?  (Read 1355 times)

0 Members and 1 Guest are viewing this topic.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Am I going mad?
« Reply #15 on: 18 Sep 2004, 03:10:41 »
I won't Solve this thread yet since it seems to be stimulating discussion, but I've more less got it nailed.    +array does exactly what I want - crystallise the array so that its not constantly changing as the script deals with it.

In fact, the whole thing has been a double success because I've managed to consolidate 5 triggers into 1, which in a lag heavy mission like this one is more than worthwhile.    

I need hardly add that the script still doesn't actually work.   Well not properly anyway.   However, this particular aspect has been solved.     Many thanks all.

Now I should take my own advice and read the comref again.   I've done it several times but obviously I'm overdue for another run.  I suspect I didn't understand this bit the last time I came across it.
Plenty of reviewed ArmA missions for you to play

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Am I going mad?
« Reply #16 on: 18 Sep 2004, 06:01:35 »
Quote
I know that C++ and OFP are very close, so somethin ought to work...
Nah, I think OFP is closer to BASIC than anything else (well, I only know TI calculator BASIC, but they are almost the same I think).

Quote
Any C++ gurus know any tricks?
Well, in Java you just make a method that creates a new object, then copies the data over from the original object, and then returns the new object (which is now an exact copy of the old one). Same in C++, I believe. In ofp it's easier, you just do a = +b :).

Anyway, not trying to get off topic or anything :)
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:Am I going mad?
« Reply #17 on: 20 Sep 2004, 00:05:07 »
Quote
Well, in Java you just make a method that creates a new object, then copies the data over from the original object, and then returns the new object (which is now an exact copy of the old one). Same in C++, I believe. In ofp it's easier, you just do a = +b .

Java and C++ are 90% the same, and thats not a stat i made up ;D

Oops better not get off topic
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08