Two Questions, a trigger and a gameplay constant

Heresme

Member
Reaction score
4
Okay, thanks in advance for any help you can give.

There's a specific unit that I don't want to give experience, as it's a summonable unit and would unbalance the experience and etc. How can I stop this unit from giving any experience?

For the trigger, I couldn't find an event based off double clicking a unit. Is there an actual event that does this and if not how can I do this?

Thanks again.
 

Giantpanda

New Member
Reaction score
1
Okay, thanks in advance for any help you can give.

There's a specific unit that I don't want to give experience, as it's a summonable unit and would unbalance the experience and etc. How can I stop this unit from giving any experience?

For the trigger, I couldn't find an event based off double clicking a unit. Is there an actual event that does this and if not how can I do this?

Thanks again.

1) Use a trigger which is something like: (Not quite sure how good it is, but oh well)

A unit Dies
Unit type of dying unit equal to *Your Unit*
Hero - Add (-180 exp) to killing unit, hide level up effects.

2) There is an event which can help you.

Use the: "Unit - Generic Unit Event" event, and change the 'Dies' bit to 'Is Selected'
 

Heresme

Member
Reaction score
4
I couldn't find it. I did find a player action.

When [Player] [selects/deselects] [unit] then action.

But I'm looking specifically for double click.
 

Giantpanda

New Member
Reaction score
1
Okay my mistake. There is no 'double click' event. However there are other things you can do, such as make it so that when the unit is selected, the hero must be less than a certain distance from the selected unit.

Also, i made the trigger for the summoned unit problem:

Code:
Untitled Trigger
    Events
        Unit - A unit Dies
    Conditions
        (Unit-type of (Dying unit)) Equal to Water Elemental (Level 1)
    Actions
        Hero - Add -100 experience to (Killing unit), Hide level-up graphics

Alternatively, you can go:
Advanced -> Gameplay Constants -> Hero XP Gained - Summoned Unit Factor.
 
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