ID:272373
 
How could i make it so a player can select and store only certain types of objects in their inventory, for example if i have
obj/Weapons
obj/Items

how would i make it so they can only store items but not weapons.
make a variable for all objects, only allow them to store the object if the variable is a certain value
In response to Click Here
Nice idea but I only want one type of objects to appear in the list of objs to store.
In response to Lt. Pain
See the istype() proc in the reference.