Using inventory on object.

Started by Oliver, Thu 10/03/2005 15:45:11

Previous topic - Next topic

Oliver

Well, I'm kinda new to AGS coding. Basically what I want to do is when I use a object (parfume bottle) on a object (cat) then the cat would walk to cordinates 194,166 and then the object (cat) would be deleted.

Could someone help me on this one. I looked for some commands from the help content but didn't find anything that seemed to help me.  :-[

Thanks in advance
You got it!

Coming Soon!

Scummbuddy

so go to the character panel, and creat new char. (cat). then set up its walking view(s). then go to inventory editor, and set up your perfume inv item, assign the view and whether or not the player starts with it.
next, go back to the character panel, select cat, make sure char has not been selected to b non-interactable. now click on interactions. click on use inv with/on char. define what value (#) that inv item was. then a 'child action' afte that, could do either run script nd type inthe movechar blocking command or you can continue to use the interaction editor to do your movechar commands and newscreen npc command.
- 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

SMF spam blocked by CleanTalk