Jump to content

Item Use, Drop & Pickup Events 1.0.0


1 Screenshot

About This File

A handy extra set of script events and variables for you to maximise your event and quest scripts!

New Variables: DroppedItemID, DroppedItemQTY, UsedItemID, PickedItemID

New Scripted Event Triggers: OnItemDropEvent, OnItemUseEvent, OnItemPickupEvent

Includes 3 Test NPC scripts e.g.

-	script	onusetest	-1,{
	dispbottom "Found item use event"; dispbottom "Using on "+ UsedItemID;
		case 501: dispbottom "You used a Red Potion!"; break;

As an example use-case, I've previously used this code in an Easter event script where each time you pickup any 1 of the 13 different eggs, specific code will run for effects, item swapping, costume changes, play sounds, etc. The possibilities are enormous!

  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.