hey...

deathwings13

New Member
Reaction score
1
How can i make when you wear a right hand weapon and you buy another right hand weapon you can't carry the one you buy ... you need 1st to drop the other right hand weapon to carry the other.. How can i do that?
 

SineCosine

I'm still looking for my Tangent
Reaction score
77
First, ensure that you know what items are right-handed >.>
(Duh!)

Next..
01) Event - Unit picks up item
02) Condition - If unit has item (Some right-handed weapon)
03) Action - Drop PickedItem (Or is it manipulated item? Sorry, I don't do GUI much =x)
 

mapguy

New Member
Reaction score
46
First, ensure that you know what items are right-handed >.>
(Duh!)

Next..
01) Event - Unit picks up item
02) Condition - If unit has item (Some right-handed weapon)
03) Action - Drop PickedItem (Or is it manipulated item? Sorry, I don't do GUI much =x)

thats not going to work.

you have to check all 6 slots with a FOR EACH INTEGER A do action.

then if the item ur checking is the item beeing manipulated and u have 2 right hand then u drop the item.
 

mapguy

New Member
Reaction score
46
ok, listen carefully!
add these three triggers.

Trigger:
  • actions
    • - a unit loses an item
    • conditions
    • -or any condition
      • - Item type of item beeing manipulated equal to(name of righthand item of yor map)
      • - Item type of item beeing manipulated equal to(name of righthand item of yor map)
      • - Item type of item beeing manipulated equal to(name of righthand item of yor map)
      • - so, put all the item types of right hand items here
    • actions
    • for each integer A from 1 to 6 do actions
      • if conditions are true then to then actions, else do else actions.
        • conditions:
          • - Item type of item in slot integer A equal to(name of righthand item of yor map)
          • - so, put all the item types of right hand items here
        • then
          • - add triggering unit to (group_have_right_hand)
        • else
          • - remove triggering unit from (group_have_right_hand)



Trigger:
  • actions
    • - a unit aquires an item
    • conditions
    • -or any condition
      • - Item type of item beeing manipulated equal to(name of righthand item of yor map)
      • - Item type of item beeing manipulated equal to(name of righthand item of yor map)
      • - Item type of item beeing manipulated equal to(name of righthand item of yor map)
      • - so, put all the item types of right hand items here
    • actions
    • - add triggering unit to (group_have_right_hand)







Trigger:
  • event
    • -a unit aquires an item
    • condition:
    • -triggering unit is in (group_have_right_hand)
    • -or any condition
      • - Item type of item beeing manipulated equal to(name of righthand item of yor map)
      • - Item type of item beeing manipulated equal to(name of righthand item of yor map)
      • - Item type of item beeing manipulated equal to(name of righthand item of yor map)
      • - so, put all the item types of right hand items here
    • actions
    • -for each integer A from 1 to 6 do action.
      • - if conditions are tru then do then actions, else do else actions:
        • conditions
          • -item type of item beeing manipulated equal to item carried by triggering unit in slot (integer A).
        • then
          • -drop item carrid by triggering unit in slot (integer A)
        • else
          • -do nothing
 
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