Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: this money thing... (just a minor glitch)  (Read 2807 times)

0 Members and 1 Guest are viewing this topic.

fabiobasile

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 74
    • View Profile
    • my brand new website!!
this money thing... (just a minor glitch)
« on: September 14, 2006, 11:28:25 PM »

i get a script runtime error while loading the room, when i check the wme.log i get the following error:

Quote
15:26: Runtime error. Script 'scripts\game.script', line 21
15:26:   Cannot remove item 'money' from inventory

everything works thou, why do i get this error?
Logged
What would i do with a million dollar? I'd give it to what's left of Black Isle/Interplay and tell them to finish the damn game!!!

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: this money thing... (just a minor glitch)
« Reply #1 on: September 15, 2006, 02:18:06 PM »

why do i get this error?
Because you're calling Game.DropItem("money"); somewhere, but the item is not taken.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

fabiobasile

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 74
    • View Profile
    • my brand new website!!
Re: this money thing... (just a minor glitch)
« Reply #2 on: September 16, 2006, 04:58:02 PM »

lol i must be losing my mind! :D

Anyway i added Game.TakeItem("money"); and now everything is normal :)
Logged
What would i do with a million dollar? I'd give it to what's left of Black Isle/Interplay and tell them to finish the damn game!!!
 

Page created in 0.049 seconds with 19 queries.