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

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FATAL ERROR: Could not load script file
Author Message
Romulator Offline
Not Tech Support ;-)

Posts: 3,556
Joined: Jan 2013
Reputation: 192
Post: #2
RE: FATAL ERROR: Could not load script file

The error code tells you your issue and apparently they are on your third line. Key and Door are not declared.

Look at your script's 3rd line: the AddUseItemCallback.

The script telling you that they are not declared means that the script thinks you're referencing something else in the .hps file. Really, all that you have done is forget to put them in quotation marks ( "" ) because they are string references. Provided you have an entity named "Key" and "Door" in your Level Editor, this should work.

PHP Code: (Select All)

Discord: Romulator#0001
[Image: 8f5d099c7b.png]
06-12-2017 09:32 AM
Find all posts by this user Quote this message in a reply
Post Reply 

Messages In This Thread
RE: FATAL ERROR: Could not load script file - Romulator - 06-12-2017 09:32 AM

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