Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
 
Thread Rating:
  • 14 Vote(s) - 2.93 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Challenge Threadᆦ ᆦ ᆦ
Author Message
Your Computer Offline
SCAN ME!

Posts: 3,475
Joined: Jul 2011
Reputation: 234
Post: #56
RE: [CHALLENGE THREAD]

(04-14-2012 09:27 PM)Homicide13 Wrote:  Well the SetGlobalVarInt function allows variables to be accessed between scripts, so this is probably where the confusion comes from.

I think I'll call these types of variables "super global" from now on, and variables set by scripts such as "SetLocalVarInt" just "global" variables (because I assume that's pretty much what they are).

It's easier to understand when you separate map variables from script variables. Map variables get saved within the game session, script variables do not--for HPL2.

(04-14-2012 09:27 PM)Homicide13 Wrote:  Also, I'm having trouble initializing an array within a class. It works just fine when I put it in the global scope of the script:

The AngelScript engine is probably assuming that you are attempting to define a method within the class due to the parentheses, and so yields that error since methods have almost identical syntax.

(04-14-2012 09:27 PM)Homicide13 Wrote:  Also also, are classes considered "object" variables? I'm not quite sure on this one.

An object is just an instance of a class. To say that a class is an object variable is to form a paradox.

Tutorials: From Noob to Pro
04-14-2012 11:38 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Challenge Threadᆦ ᆦ ᆦ - nemesis567 - 04-10-2012, 02:49 PM
RE: [CHALLENGE THREAD] - JetlinerX - 04-10-2012, 04:49 PM
RE: [CHALLENGE THREAD] - Cranky Old Man - 04-10-2012, 05:12 PM
RE: [CHALLENGE THREAD] - AnthonyTrix - 04-10-2012, 05:40 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-10-2012, 05:45 PM
RE: [CHALLENGE THREAD] - Kreekakon - 04-10-2012, 06:13 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-10-2012, 06:24 PM
RE: [CHALLENGE THREAD] - Kreekakon - 04-10-2012, 06:28 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-10-2012, 06:35 PM
RE: [CHALLENGE THREAD] - Putmalk - 04-10-2012, 06:53 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-10-2012, 06:56 PM
RE: [CHALLENGE THREAD] - palistov - 04-10-2012, 07:44 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-10-2012, 08:02 PM
RE: [CHALLENGE THREAD] - palistov - 04-10-2012, 08:27 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-10-2012, 08:31 PM
RE: [CHALLENGE THREAD] - palistov - 04-10-2012, 09:04 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-10-2012, 09:09 PM
RE: [CHALLENGE THREAD] - palistov - 04-10-2012, 09:39 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-10-2012, 09:50 PM
RE: [CHALLENGE THREAD] - Miss Rigi - 04-10-2012, 10:20 PM
RE: [CHALLENGE THREAD] - palistov - 04-10-2012, 10:30 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-11-2012, 01:09 AM
RE: [CHALLENGE THREAD] - nemesis567 - 04-11-2012, 01:01 PM
RE: [CHALLENGE THREAD] - ClayPigeon - 04-11-2012, 02:58 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-11-2012, 05:20 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-11-2012, 07:56 PM
RE: [CHALLENGE THREAD] - ClayPigeon - 04-11-2012, 09:48 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-12-2012, 01:09 AM
RE: [CHALLENGE THREAD] - Homicide13 - 04-12-2012, 06:16 AM
RE: [CHALLENGE THREAD] - ClayPigeon - 04-12-2012, 09:47 AM
RE: [CHALLENGE THREAD] - DRedshot - 04-12-2012, 11:26 AM
RE: [CHALLENGE THREAD] - nemesis567 - 04-12-2012, 02:04 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-12-2012, 04:26 PM
RE: [CHALLENGE THREAD] - Your Computer - 04-12-2012, 06:19 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-12-2012, 07:11 PM
RE: [CHALLENGE THREAD] - Your Computer - 04-12-2012, 07:49 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-12-2012, 07:51 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-12-2012, 09:20 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-12-2012, 09:40 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-14-2012, 01:43 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-14-2012, 05:22 PM
RE: [CHALLENGE THREAD] - Putmalk - 04-14-2012, 05:59 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-14-2012, 06:17 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-14-2012, 07:14 PM
RE: [CHALLENGE THREAD] - Your Computer - 04-14-2012, 07:33 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-14-2012, 08:10 PM
RE: [CHALLENGE THREAD] - Your Computer - 04-14-2012, 08:38 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-14-2012, 09:03 PM
RE: [CHALLENGE THREAD] - Your Computer - 04-14-2012, 09:27 PM
RE: [CHALLENGE THREAD] - DRedshot - 04-14-2012, 09:12 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-14-2012, 08:39 PM
RE: [CHALLENGE THREAD] - Your Computer - 04-14-2012, 08:47 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-14-2012, 08:51 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-14-2012, 09:27 PM
RE: [CHALLENGE THREAD] - Your Computer - 04-14-2012 11:38 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-14-2012, 10:32 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-15-2012, 12:24 AM
RE: [CHALLENGE THREAD] - Your Computer - 04-15-2012, 12:50 AM
RE: [CHALLENGE THREAD] - nemesis567 - 04-15-2012, 12:30 AM
RE: [CHALLENGE THREAD] - Apjjm - 04-15-2012, 12:32 AM
RE: [CHALLENGE THREAD] - nemesis567 - 04-15-2012, 12:34 AM
RE: [CHALLENGE THREAD] - Homicide13 - 04-15-2012, 01:21 AM
RE: [CHALLENGE THREAD] - Your Computer - 04-15-2012, 01:32 AM
RE: [CHALLENGE THREAD] - nemesis567 - 04-15-2012, 01:53 AM
RE: [CHALLENGE THREAD] - Homicide13 - 04-15-2012, 02:00 AM
RE: [CHALLENGE THREAD] - nemesis567 - 04-15-2012, 02:03 AM
RE: [CHALLENGE THREAD] - Homicide13 - 04-15-2012, 02:11 AM
RE: [CHALLENGE THREAD] - Your Computer - 04-15-2012, 02:27 AM
RE: [CHALLENGE THREAD] - nemesis567 - 04-15-2012, 02:37 AM
RE: [CHALLENGE THREAD] - Homicide13 - 04-15-2012, 02:45 AM
RE: [CHALLENGE THREAD] - Your Computer - 04-15-2012, 02:51 AM
RE: [CHALLENGE THREAD] - Homicide13 - 04-15-2012, 02:58 AM
RE: [CHALLENGE THREAD] - Your Computer - 04-15-2012, 02:59 AM
RE: [CHALLENGE THREAD] - Homicide13 - 04-15-2012, 03:09 AM
RE: [CHALLENGE THREAD] - Homicide13 - 04-15-2012, 04:31 AM
RE: [CHALLENGE THREAD] - nemesis567 - 04-15-2012, 01:59 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-15-2012, 03:01 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-15-2012, 04:10 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-15-2012, 06:27 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-15-2012, 06:39 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-15-2012, 06:46 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-15-2012, 06:55 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-17-2012, 04:41 AM
RE: [CHALLENGE THREAD] - nemesis567 - 04-17-2012, 01:44 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-17-2012, 05:37 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-17-2012, 05:40 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-17-2012, 05:46 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-17-2012, 05:49 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-17-2012, 05:57 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-17-2012, 05:57 PM
RE: [CHALLENGE THREAD] - DRedshot - 04-17-2012, 05:59 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-17-2012, 06:00 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-17-2012, 06:06 PM
RE: [CHALLENGE THREAD] - DRedshot - 04-17-2012, 06:34 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-17-2012, 06:40 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-17-2012, 07:08 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-17-2012, 08:24 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-17-2012, 08:57 PM
RE: [CHALLENGE THREAD] - Apjjm - 04-17-2012, 09:16 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-17-2012, 10:22 PM
RE: [CHALLENGE THREAD] - DRedshot - 04-17-2012, 10:52 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-17-2012, 11:31 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-17-2012, 11:12 PM
RE: [CHALLENGE THREAD] - Your Computer - 04-17-2012, 11:33 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-17-2012, 11:57 PM
RE: [CHALLENGE THREAD] - Your Computer - 04-18-2012, 01:05 AM
RE: [CHALLENGE THREAD] - nemesis567 - 04-18-2012, 12:03 AM
RE: [CHALLENGE THREAD] - nemesis567 - 04-18-2012, 01:35 AM
RE: [CHALLENGE THREAD] - nemesis567 - 04-18-2012, 12:10 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-18-2012, 04:01 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-18-2012, 04:03 PM
RE: [CHALLENGE THREAD] - Your Computer - 04-18-2012, 04:21 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-18-2012, 04:21 PM
RE: [CHALLENGE THREAD] - Your Computer - 04-18-2012, 05:08 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-18-2012, 05:40 PM
RE: [CHALLENGE THREAD] - Apjjm - 04-18-2012, 08:49 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-18-2012, 08:57 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-18-2012, 09:06 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-19-2012, 06:05 AM
RE: [CHALLENGE THREAD] - Your Computer - 04-19-2012, 06:21 AM
RE: [CHALLENGE THREAD] - Homicide13 - 04-19-2012, 07:51 AM
RE: [CHALLENGE THREAD] - Your Computer - 04-19-2012, 08:36 AM
RE: [CHALLENGE THREAD] - Homicide13 - 04-19-2012, 08:43 AM
RE: [CHALLENGE THREAD] - Your Computer - 04-19-2012, 09:09 AM
RE: [CHALLENGE THREAD] - Apjjm - 04-19-2012, 01:56 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-19-2012, 04:17 PM
RE: [CHALLENGE THREAD] - Apjjm - 04-19-2012, 04:19 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-19-2012, 05:09 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-19-2012, 02:09 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-20-2012, 07:03 PM
RE: [CHALLENGE THREAD] - Apjjm - 04-20-2012, 07:24 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-20-2012, 09:00 PM
RE: [CHALLENGE THREAD] - Apjjm - 04-20-2012, 11:50 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-21-2012, 01:34 AM
RE: [CHALLENGE THREAD] - nemesis567 - 04-24-2012, 02:54 PM
RE: [CHALLENGE THREAD] - Apjjm - 04-24-2012, 09:33 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-24-2012, 09:51 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-24-2012, 09:54 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-25-2012, 12:20 AM
RE: [CHALLENGE THREAD] - nemesis567 - 04-26-2012, 12:02 AM
RE: [CHALLENGE THREAD] - Apjjm - 04-26-2012, 02:00 AM
RE: [CHALLENGE THREAD] - Rapture - 04-26-2012, 05:17 AM
RE: [CHALLENGE THREAD] - Homicide13 - 04-26-2012, 06:44 AM
RE: [CHALLENGE THREAD] - Apjjm - 04-26-2012, 01:57 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-26-2012, 01:59 PM
RE: [CHALLENGE THREAD] - Apjjm - 04-26-2012, 07:29 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-26-2012, 09:26 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-26-2012, 10:34 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-26-2012, 11:36 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-26-2012, 11:43 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-27-2012, 12:02 AM
RE: [CHALLENGE THREAD] - nemesis567 - 04-27-2012, 12:21 AM
RE: [CHALLENGE THREAD] - Apjjm - 04-29-2012, 09:29 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-27-2012, 01:29 AM
RE: [CHALLENGE THREAD] - Your Computer - 04-27-2012, 02:17 AM
RE: [CHALLENGE THREAD] - Homicide13 - 04-27-2012, 02:31 AM
RE: [CHALLENGE THREAD] - Your Computer - 04-27-2012, 03:49 AM
RE: [CHALLENGE THREAD] - Homicide13 - 04-27-2012, 04:06 AM
RE: [CHALLENGE THREAD] - nemesis567 - 04-27-2012, 01:56 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-27-2012, 04:24 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-29-2012, 09:55 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-30-2012, 05:22 AM
RE: [CHALLENGE THREAD] - nemesis567 - 04-30-2012, 12:54 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-30-2012, 01:38 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-30-2012, 02:02 PM
RE: [CHALLENGE THREAD] - Homicide13 - 04-30-2012, 03:04 PM
RE: [CHALLENGE THREAD] - nemesis567 - 04-30-2012, 05:26 PM
RE: [CHALLENGE THREAD] - Homicide13 - 05-01-2012, 12:48 AM
RE: [CHALLENGE THREAD] - nemesis567 - 05-01-2012, 01:12 AM
RE: [CHALLENGE THREAD] - Homicide13 - 05-01-2012, 05:20 AM
RE: [CHALLENGE THREAD] - Your Computer - 05-01-2012, 11:22 AM
RE: [CHALLENGE THREAD] - Homicide13 - 05-01-2012, 12:37 PM
RE: [CHALLENGE THREAD] - nemesis567 - 05-01-2012, 01:35 PM
RE: [CHALLENGE THREAD] - Your Computer - 05-01-2012, 02:07 PM
RE: [CHALLENGE THREAD] - Apjjm - 05-01-2012, 03:47 PM
RE: [CHALLENGE THREAD] - nemesis567 - 05-01-2012, 04:04 PM
RE: [CHALLENGE THREAD] - Homicide13 - 05-01-2012, 06:01 PM
RE: [CHALLENGE THREAD] - Apjjm - 05-01-2012, 06:39 PM
RE: [CHALLENGE THREAD] - Homicide13 - 05-02-2012, 05:45 AM
RE: [CHALLENGE THREAD] - Theforgot3n1 - 05-02-2012, 09:19 PM
RE: [CHALLENGE THREAD] - Homicide13 - 05-02-2012, 10:33 PM
RE: [CHALLENGE THREAD] - nemesis567 - 05-02-2012, 11:24 PM
RE: [CHALLENGE THREAD] - nemesis567 - 05-05-2012, 04:02 PM
RE: [CHALLENGE THREAD] - Homicide13 - 05-06-2012, 04:48 AM
RE: [CHALLENGE THREAD] - Homicide13 - 05-06-2012, 10:03 PM
RE: [CHALLENGE THREAD] - Apjjm - 05-07-2012, 02:37 AM
RE: [CHALLENGE THREAD] - Homicide13 - 05-07-2012, 02:58 AM
RE: [CHALLENGE THREAD] - nemesis567 - 05-07-2012, 11:00 PM
RE: [CHALLENGE THREAD] - Homicide13 - 05-08-2012, 01:22 AM
RE: [CHALLENGE THREAD] - nemesis567 - 05-08-2012, 01:38 AM



User(s) browsing this thread: 1 Guest(s)