adding invetnory from dialog

Started by Matt Brown, Sat 16/08/2003 01:22:48

Previous topic - Next topic

Matt Brown

is this possible? is there a dialog script command I can use so when I player uses a certain topic, an inventory item is given?

if so, what is it, and where do I add it in the script?

thanks guys
word up

Wolfgang Abenteuer

#1
I believe the newest version of AGS has a dialogue function Add-inv X that will handle that for you.  For example:

@1
man: Here, have a cookie!
Add-inv 3 //Item number of the cookie
return

Edit:  Brain fart.  Add-inv was always there.  Lose-inv is the new addition. :P  So, yeah, the code above should work.

~Wolfgang

TerranRich

It's in the manual.

Manual, manual, manual.
Status: Trying to come up with some ideas...

SMF spam blocked by CleanTalk