[General] Help with Items o.o and others

Status
Not open for further replies.
Level 3
Joined
Jun 22, 2012
Messages
28
How do i make items only usable by melee
Like in rpg theres usable by classes and melee and range types
How do you make an item do that?

And How do you sop the Event When The Unit spawns? course i don't want thousands of units at O.o my Netural Camp
 
You can use mine :D

  • Thief Restriction
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to SaveLoad_Item[16]
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Hero manipulating item)) Equal to Clown
          • (Unit-type of (Hero manipulating item)) Equal to Assassin
          • (Unit-type of (Hero manipulating item)) Equal to Jester
        • Then - Actions
          • Hero - Drop (Item being manipulated) from (Hero manipulating item)
          • Game - Display to (All players) the text: Item not suitable f...
        • Else - Actions


(Item-type of (Item being manipulated)) Equal to SaveLoad_Item[16]
This means the SaveLoad_Item[16] is just a item array from my items
 
You can use mine :D

  • Thief Restriction
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to SaveLoad_Item[16]
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Hero manipulating item)) Equal to Clown
          • (Unit-type of (Hero manipulating item)) Equal to Assassin
          • (Unit-type of (Hero manipulating item)) Equal to Jester
        • Then - Actions
          • Hero - Drop (Item being manipulated) from (Hero manipulating item)
          • Game - Display to (All players) the text: Item not suitable f...
        • Else - Actions


(Item-type of (Item being manipulated)) Equal to SaveLoad_Item[16]
This means the SaveLoad_Item[16] is just a item array from my items

item type array i guess and not item array :p
 
Stop making units spawn :
Event :
Every X Seconds of game-time
Condition :
Unit in (Region Name) is less than Y
Action :
Create Z (Unit Type) at (Region Name) facing default building degrees

That way the trigger will always check if the unit in the region is less than Y

Dictionary :
X = Game-Time
Y = amount of unit in region
Z = amount of unit created
 
Status
Not open for further replies.
Back
Top