Multiple CP'S(IF)

Started by LawAmunRa, Sat 09/07/2005 21:46:41

Previous topic - Next topic

LawAmunRa

Im tryint to set up an event where a Magnetic ID Card(key) is surrounded by a force field.Ive been able to set up AGS to check if Inventory Item was Used on object.but
then how do I set it up so then then it Checks to see if You picked it up.Where as Currently when I use Inventory item,n,on object,n,I canont preceed remove/Add inventory item,with Required instruction.
Ive tried to move the commands but I am very new to AGS.6 Hrs Use...Can anyone please help..

monkey0506

I'm not quite sure what the problem is, but I think you may want to click on the "Interaction..." button for the object (in the room editor, objects pane) and add a "Pick up object" interaction.  You can either add "Add inventory" and "Remove Object" actions, or you can add a "Run script" action and then use the cCharname.AddInventory and oObjectname.Visible function/property.  (I'm assuming that you're using 2.7 here.  For 2.62 it would be the global functions AddInventory and ObjectOff).

LawAmunRa

I dont think You understand exactly what I want to do but thanks for the help.It made me re-examine the options available and have now compleated sucessfully the multiple stacked tasks on Item to pickup.
I did this by placing another item on top of the first.Key with a force field surrounding it.set it up to display message that there was a key on object1.then display message that there is a force surrounding it.
I then sorted it out ok.Thanks again.
P.S.This A.G.S.thing is pretty cool...
Quote:Assimilate.

monkey0506

Glad I could help?  Sorry I didn't quite understand the problem...I tried.  But I'm happy you got it sorted out.

SMF spam blocked by CleanTalk