Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Does Amnesia support Arrays?
ClayPigeon Offline
Member

Posts: 214
Threads: 13
Joined: Mar 2012
Reputation: 8
#5
RE: Does Amnesia support Arrays?

I think I've got where you're going:
int randArray[10];
for(int i = 0; i < 10; i++) randArray[i] = RandInt(0,99);
To access:
int someVar = randArray[3];
01-10-2014, 12:39 PM
Find


Messages In This Thread
RE: Does Amnesia support Arrays? - by daortir - 01-10-2014, 12:04 PM
RE: Does Amnesia support Arrays? - by Romulator - 01-10-2014, 12:07 PM
RE: Does Amnesia support Arrays? - by daortir - 01-10-2014, 12:26 PM
RE: Does Amnesia support Arrays? - by ClayPigeon - 01-10-2014, 12:39 PM
RE: Does Amnesia support Arrays? - by Romulator - 01-10-2014, 12:41 PM



Users browsing this thread: 2 Guest(s)