Jump to content

A Nil Value Error


Where I Go Again

Recommended Posts

I'm getting a very frustrating error. Especially since I've done the exact code several times within the script and it works flawlessly. Its the same one discussed under the Book Item.

 

I'm turning off a command. In this case, after someone grabs and item, I'm disabling the grab command.

 

So...

 

On my last two objects of the game, when I do a simple Show or Hide an item command, I get a nil value error when I run the emulator.

 

Any thoughts on what is going on? It's happening on both items.

 

Thanks,

CJ

Link to comment

Any thoughts on what is going on? It's happening on both items.

CJ,

 

Do your commands happen to have a space in them (between words, perhaps)? In my cartridge authoring experience, I originally had the command "Drop Off" but received a similar error. When I killed the space ("DropOff"), things were much happier.

 

-trenkle

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...