Drop item

This forum is for discussing anything related to The Quest editor.

Drop item

Postby Prickett » Mon Apr 12, 2021 5:04 pm

Is there a command to destroy / drop items that are in the PC inventory? E.g., if they walk on a certain position then they drop all but 3 health potions.
Prickett
 
Posts: 648
Joined: Mon Jul 22, 2013 2:39 am
Location: Georgia, USA

Re: Drop item

Postby Elendil / Redshift » Tue Apr 13, 2021 7:35 am

From a quick check of the Quest System pdf I found "RemoveItem" on the player and "ReceiveItem" on map objects. I don't think there is a command to simply "drop" an item. The "ReceiveItem" comment mentions a shelf, but you might be able to use it on a Position too, for example (haven't checked).
User avatar
Elendil / Redshift
Site Admin
 
Posts: 940
Joined: Sun Oct 09, 2011 11:35 am

Re: Drop item

Postby Prickett » Wed Apr 14, 2021 2:06 am

Thanks for checking for me. Could you send a link or tell me where that PDF can be found?
Prickett
 
Posts: 648
Joined: Mon Jul 22, 2013 2:39 am
Location: Georgia, USA

Re: Drop item

Postby Elendil / Redshift » Wed Apr 14, 2021 7:10 am

It's in the tutorial. (Linked from the very first post in this subforum. ;) )
User avatar
Elendil / Redshift
Site Admin
 
Posts: 940
Joined: Sun Oct 09, 2011 11:35 am

Re: Drop item

Postby Prickett » Thu Apr 15, 2021 2:38 pm

Thanks!
Prickett
 
Posts: 648
Joined: Mon Jul 22, 2013 2:39 am
Location: Georgia, USA


Return to Editor

Who is online

Users browsing this forum: No registered users and 9 guests