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
No Matching signatures
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: No Matching signatures

Unfortunately you can't define functions in global.hps and expect them to work. All scripts must be done in the level-specific file Sad

Technically you CAN do all kinds of stuff in global.hps like control flow and your own functions and the like, but you don't have any access to the API, so you can't really do much of anything useful with it.

TL;DR solution: move Func02 definition to your level's script file. Global.hps isn't included in your levels' scripts.

08-12-2012, 10:39 AM
Find


Messages In This Thread
No Matching signatures - by Lake - 08-12-2012, 10:34 AM
RE: No Matching signatures - by palistov - 08-12-2012, 10:39 AM
RE: No Matching signatures - by Lizard - 08-12-2012, 10:42 AM
RE: No Matching signatures - by Lake - 08-12-2012, 11:00 AM
RE: No Matching signatures - by Lizard - 08-12-2012, 11:11 AM
RE: No Matching signatures - by Lake - 08-12-2012, 11:14 AM
RE: No Matching signatures - by Lizard - 08-12-2012, 11:15 AM
RE: No Matching signatures - by Lake - 08-12-2012, 11:19 AM
RE: No Matching signatures - by Lizard - 08-12-2012, 11:22 AM



Users browsing this thread: 1 Guest(s)