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
Script Help How to search an array?
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: How to search an array?

While loops are fine so long as they're not infinite loops. Not all array methods are implemented. However, the length and resize methods i know are implemented for Amnesia. Just use length() in a for loop and you should be fine. Though, you may want to call RandInt outside of the loop.

Tutorials: From Noob to Pro
(This post was last modified: 07-11-2012, 09:31 PM by Your Computer.)
07-11-2012, 09:28 PM
Website Find


Messages In This Thread
How to search an array? - by Cyfiawn - 07-11-2012, 06:18 PM
RE: How to search an array? - by SilentStriker - 07-11-2012, 07:13 PM
RE: How to search an array? - by Cyfiawn - 07-11-2012, 07:18 PM
RE: How to search an array? - by Your Computer - 07-11-2012, 09:28 PM



Users browsing this thread: 1 Guest(s)