Event Problem: A Unit drop an item

950315

New Member
Reaction score
1
erm guys , I have a question about event. Is that an Event that is " A Unit Dropped an Item" ? I tried to Search hardly but I still couldn't find ..anyone have other way? tq
 

Shadow14l

New Member
Reaction score
11
And if you want it to only be units that drop it on purpose, and not from dying, use this condition:

Trigger:
  • Conditions
    • ((Triggering unit) is alive) Equal to True
 

Genyuumaru

New Member
Reaction score
15
Code:
-Event
A Unit Loses an Item
-Condition
Item Type of (Item Beeing Manipulated) equal to Monster Summon
-Actions
set Temp_Point = Unit Position of (Triggering Unit)
set Temp_Point2 = Temp_Point offset by 100 towards "Random Ange" degrees (use point with polar offset for this)
Unit - Create 1 Monster for Owner of (Triggering Unit) at Temp_Point 2 Facing Default Building Degrees
Special Effect - Create "Any effect, for example, Dark Convection (Caster)" at Temp_Point2
Special Effect - Destroy (Last Created Special Effect)
custom script: call RemoveLocation (udg_Temp_Point)
custom script: call RemoveLocation (udg_Temp_Point2)
wait 0.01 seconds
Item - Remove (Item Beeing Manipulated)

This trigger will create a "Monster" when you drop the item "Monster Summon" and it doesn't leak.
 

950315

New Member
Reaction score
1
Code:
-Event
A Unit Loses an Item
-Condition
Item Type of (Item Beeing Manipulated) equal to Monster Summon
-Actions
set Temp_Point = Unit Position of (Triggering Unit)
set Temp_Point2 = Temp_Point offset by 100 towards "Random Ange" degrees (use point with polar offset for this)
Unit - Create 1 Monster for Owner of (Triggering Unit) at Temp_Point 2 Facing Default Building Degrees
Special Effect - Create "Any effect, for example, Dark Convection (Caster)" at Temp_Point2
Special Effect - Destroy (Last Created Special Effect)
custom script: call RemoveLocation (udg_Temp_Point)
custom script: call RemoveLocation (udg_Temp_Point2)
wait 0.01 seconds
Item - Remove (Item Beeing Manipulated)

This trigger will create a "Monster" when you drop the item "Monster Summon" and it doesn't leak.

1 Question : Can I summon my monster at a fixed Region? and can I add a condition is about the Monster Summon must be throw at a fixed Region? tq
 

Genyuumaru

New Member
Reaction score
15
Use Condition
Region xxx <gen> contains (Triggering Unit) Equal to True (Boolean Comprasion)

Use Action
Set Temp_Point = Center of Region xxx <gen>
Temp_Point 2 is not needed here
 
General chit-chat
Help Users

      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