obj/Weapons
obj/Items
how would i make it so they can only store items but not weapons.
ID:272373
Jun 19 2008, 7:19 am
|
|
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 how would i make it so they can only store items but not weapons. |
Jun 19 2008, 5:01 pm
|
|
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.
|