Orion Checking If A Container Is Open

Discussion about the technical aspects of scripting. Ask about all issues involving your freelance projects here.
Post Reply
Elder Scribe
Posts: 150
Joined: Mon Nov 03, 2014 2:24 pm
Location: PST

Orion Checking If A Container Is Open

Post by MagicUser »

I was poking around, trying to find out how to see if a given bag is open. I finally figured it out. It was not intuitive.

Code: Select all

//Check if bag is open.
function bagOpen(bagSerial) {
	return Orion.GumpExists('container', bagSerial)
Once I realized that they were probably considered gumps, I looked in the gump type list. There it was :).
Paroxysmus ILV Master Spellcaster
Post Reply