Hey just alittle confused here

ReDruMMurDeR

Member
Reaction score
0
i have creep respawn working also item drop but.... Everything on themap Drops the same items im not sure how to seperate this or how to create a table for the trigger i use this atm

Events
Unit - A unit owned by Neutral Hostile Dies

actions

Item - Create Tome of Experience at (Position of (Triggering unit))

but i dont know how to seperate the creeps and drops in a table

like i want a bear to drop a bear skin right and a wolf to drop a wolf pelt :banghead:
 

niceone

New Member
Reaction score
3
By checking the unit type of the triggering unit. Like:

Trigger:
  • a
    • Events
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Triggering unit)) Equal to Footman
        • Then - Actions
          • Set Temp_Point = (Position of (Triggering unit))
          • Item - Create Shield at (Temp_Point))
          • Custom script: call RemoveLocation (udg_Temp_Point)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Triggering unit)) Equal to Rifleman
        • Then - Actions
          • Set Temp_Point = (Position of (Triggering unit))
          • Item - Create Rifle at (Temp_Point))
          • Custom script: call RemoveLocation (udg_Temp_Point)
        • Else - Actions
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top