- Joined
- Mar 25, 2010
- Messages
- 187
Hi, am making a rather simple equipment system, all that should happen is is the item drops when you're already carrying one of the same type (i.e. a Shield )
There'll be some other things in later, like Stat requirements but for now i'm just trying to get this working.
Anyhow, i've probably done alot more wrong then i think i did but here it is anyway.
Then i hoped i could check what type it is and go from there on out.
There'll be some other things in later, like Stat requirements but for now i'm just trying to get this working.
Anyhow, i've probably done alot more wrong then i think i did but here it is anyway.
-
Events
- Unit - A unit Acquires an item
-
Conditions
- (Item-class of (Item being manipulated)) Equal to Miscellaneous
-
Actions
- Set MainHandCheck = (MainHandCheck + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- MainHandCheck Not equal to 1
-
Then - Actions
- Hero - Drop (Item being manipulated) from (Triggering unit)
-
Else - Actions
- Do nothing
-
If - Conditions
Then i hoped i could check what type it is and go from there on out.