I'm not getting an inventory item (Solved)

Started by VII Toast, Sun 21/11/2004 20:08:41

Previous topic - Next topic

VII Toast

Can't get it...help-o
To the ends of earth, when the skys are read, and the planet spins like a top opon the new time. This is the dead, this is the light, the is the tru7h.

Edwin Xie

*Ahem*
Code: ags

// script for object0: Interact object
AddInventory(3);
ObjectOff(0);


Is it like this in your script for interacting with the object?
Moving at superhigh speed getting to the planet called Earth. But it is boxed in white......thing.....

VII Toast

Code: ags

// script for hotspot1: Interact hotspot
DisplayMessage (2);
AddInventory (3);
ObjectOff (0);
To the ends of earth, when the skys are read, and the planet spins like a top opon the new time. This is the dead, this is the light, the is the tru7h.

dreammaster

That looks fine. If you're still not seeing the inventory item in inventory after that, it must be some other problem. A few I can think of:

* Perhaps you put the script in the wrong hotspot. Try putting a debug line in the script, such as Display("test"); to make sure the script runs.

* If you're using a custom inventory script, you might want to try reverting back to the built-in one temporarily just to check whether your object is appearing.

VII Toast

#4
Ah! Great. I got it to work.Ã,  don't know what I did, but it works now.

Thanks.

New question: How do you run the game in windowed mode :-\
To the ends of earth, when the skys are read, and the planet spins like a top opon the new time. This is the dead, this is the light, the is the tru7h.

Phemar


You go to winsetup and select [] run the the game in windowed.

Scummbuddy

TerranRich has already mentioned this several times. Do not modify your first post. Replace it please, for it makes everyone else confused. These threads will later be used as reference for anyone searching the forums (or should be doing, at least). If you want to continue your thread, thats fine, but make a new post, not erase an older one in which others have responded to.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

VII Toast

Ah, alright. Just on other fourms I have been on, things seem to be bad if I have multiple questions at different times. Then that can be called spamming

Dum dum DUM.
To the ends of earth, when the skys are read, and the planet spins like a top opon the new time. This is the dead, this is the light, the is the tru7h.

Ashen

You could just add the question in the first post, or just leave the first post alone and add it later, like Scummbuddy did in his edit.

Anyway, what exactly was your question (since it's been deleted)?
Do you want to run your game windowed, or one you've downloaded?

Either way, as Zor said, run the setup exe (usually called winsetup.exe), and select 'Run in a window instead of full-screen', then 'Save', or 'Save and Run'. If it's a game you downloaded, and it doesn't have a setup exe, then I think you just have to live with full screen.
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk