SCUMM style "give" command.

Started by Dreadus, Thu 08/12/2005 14:24:08

Previous topic - Next topic

Dreadus

Okay. I'm having trouble scripting a "give" feature. I'm currently using a "monkey island" template which has been modified heavilly to become a day of the tentacle/maniac mansion style interface with multiple characters being controlled at once.

I'm stuck on implementing a "give" command. Everything else seems to work just fine except give. I know you cant tell much without seeing my script, but if anyone has made an item interchange program, could you share exactly what you did to do it, as it will likely help me to script mine.

Radiant

What precisely is the problem? Have you tried

GetCharacterAt (mouse.x, mouse.y)

to find out which character you're pointing at?

Dreadus

its all good, i managed to figure it out. It was pretty simple to implement, but keeping the status bar clean was a bitch. I basically had to use a different mousemode than what i was originally using, to allow "activeinventory" to work.

Ashen

If you have any more problems, there's a nice, current SCUMM GUI tutorial HERE. It might be good for some pointers, even if you'd rather work things out for yourself.
I know what you're thinking ... Don't think that.

Dreadus

Nah, thats the tutorial i used in the beginning, that one didnt work as well as the system i now have in place.
I just wanted so see, literally, how people actually handled give functions and try to somehow apply their ideas to my script.

SMF spam blocked by CleanTalk