getting units to start with items

incarcerate

New Member
Reaction score
0
Hi im new to the world editor so could some one please tell me how to get a unit to start with an item at the beginning of the game?
thanks in advance
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Which item ?

And also, are the units heroes ? Since units can have inventory XD

EDIT: This trigger will give 1 Tome of Experience to all heroes on the map:
Trigger:
  • Start Item
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Temp_Group = (Units in (Playable map area) matching (((Matching unit) is A Hero) Equal to True))
      • Unit Group - Pick every unit in Temp_Group and do (Actions)
        • Loop - Actions
          • Hero - Create Tome of Experience and give it to (Picked unit)
      • Custom script: call RemoveLocation(udg_Temp_Group)


For this trigger, a Unit Group variable is needed, here named Temp_Group.
 

Sk8-tEr

New Member
Reaction score
5
event a unit is created

condition unit type = to blahh

action give unit item bllaaaahh
 
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