calling item arrays

Happysmiley

New Member
Reaction score
22
I am making an ORPG for me and my friends, and decided to implement armor proficiency so that spell casters can't wear plate etc.

It's going to have 3 different armor types;

- Plate
- Leather
- Cloth

I think I have at least enough knowledge to create an item array to store each item into the proper category, but since I haven't been working a lot with other variables than the basic real/integer ones, I'm not really sure as to how I would go about calling that item array every time a unit picks up an item.

This is where I need your help.. Any suggestions? :(
 

NoobImbaPro

You can change this now in User CP.
Reaction score
60
Use item groups, like
add "plate 1" to "plate" group
add "cloth 5" to "cloth" group

and then for conditions pick the group instead of item arrays

event
an item is picked
conditions
if unit is in mage(unit group) group and if picked item is in plate group
actions
drop item
 

Happysmiley

New Member
Reaction score
22
Ok, if I understand you correctly, I'll create an item group variable and a unit group variable and store the items / heroes in there, and then check if they are in the respective groups?

That makes sense, thanks :) Although I'm not at a computer with WE at the moment, I'll report when I am, and hope that you may be helping me if I run into any problems :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top