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
Refrencing script libraries?
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: Refrencing script libraries?

AngelCode has the keyword import, but I wasn't able to get it to work. Importing a function would let me call it, but it wouldn't do anything. Since AngelCode, like C++, ignores whitespace, you can delete all your return characters (newline characters) and compress your script into a single line once you're done writing it. That way when you copy and paste it over to another map, it doesn't take up a huge amount of screen space. Just be sure to make a comment so you know what that line of code does.

And yes, there's no requirement as to the order of the functions.

04-06-2012, 07:51 PM
Find


Messages In This Thread
Refrencing script libraries? - by Homicide13 - 04-06-2012, 07:38 PM
RE: Refrencing script libraries? - by palistov - 04-06-2012, 07:51 PM
RE: Refrencing script libraries? - by Homicide13 - 04-06-2012, 08:58 PM



Users browsing this thread: 2 Guest(s)