Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Dr Snark on Sat 30/08/2003 01:11:47

Title: Pick up and Object
Post by: Dr Snark on Sat 30/08/2003 01:11:47

well as i was Parusing the Manual I came upon The "Pick UP" Cursor Mode. and "Pick Up" is in the Object Interactions, but why isn't it Documented Further in the manual or am i Missing Something?

How do I "Pick Up" an Object? ???

Thanks!!
Title: Re:Pick up and Object
Post by: Scummbuddy on Sat 30/08/2003 05:34:08
RemoveObject
AddInventory
Title: Re:Pick up and Object
Post by: Dr Snark on Sat 30/08/2003 10:00:40
That I know,

But the "adding of The actual "PICK UP" function I Can't do.

The only PICK UP i see in the manual suggests i make a property n the window? I DONT UNDERSTAND!!  What would a property have to do with a "PICK UP" Function?

PLease expl,ain further
Title: Re:Pick up and Object
Post by: Ishmael on Sat 30/08/2003 10:10:57
As an example:

Object interactions for Blue Cup:
- Walk to...
- Look at...
- Talk to...
- Interact...
- Pick up: Run Script
- Whateverothermodes...

The Script:
MoveCharacterToObject(EGO,2);
SetCharacterView(EGO,4); // the pick up animation is in view 4, in this case
AnimateCharacter (EGO, 2, 0, 0); // playing the pick up anim, loop 2 in this case
ReleaseCharacterView(EGO); // release the view back to normal
Display("You grab the cup and notice a wierd carving on it.");
RemoveObject(2);
AddInventory(5);

OK?
Title: Re:Pick up and Object
Post by: Dr Snark on Mon 01/09/2003 00:55:22
Ok But Where exatly is the "Pick up" Command?
I tried what TK said, but you actualy need  a "Pick Up" Command.


PS: (to Chris) In the Manual it only goes to  Use Inventory On Object in the Object Interactons.

Ok Never Mind...

I just had My Brain Re-Furbished
Title: Re:Pick up and Object
Post by: Ishmael on Mon 01/09/2003 08:13:51
Cursor Mode 5 is pick up.. you need to put that into use...
Title: Re:Pick up and Object
Post by: Dr Snark on Mon 01/09/2003 08:30:01
When I said Never Mind...

I made the Cursor Mode 5
Title: Re:Pick up and Object
Post by: Ishmael on Mon 01/09/2003 08:40:25
Sorry, I didn't notice the edit...