unit type is custom_h001

Menelaus

New Member
Reaction score
9
i have this sell trigger and it says you have recieved x gold for selling a custom_h00(random letter).
Code:
sell
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Sell 
    Actions
        Player - Add (Integer(((Real((Point-value of (Triggering unit)))) x 0.75))) to (Owner of (Triggering unit)) Current gold
        Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
        Unit - Remove (Triggering unit) from the game
       [COLOR="Red"] Game - Display to (Player group((Owner of (Triggering unit)))) the text: (((You received  + gold_color) + (String((Integer(((Real((Point-value of (Triggering unit)))) x 0.75)))))) + (|r for selling a|cffffffff + ((String((Unit-type of (Triggering unit)))) + |r.)))[/COLOR]
Whats wrong and how do i fix it?
 

xfirenzx

New Member
Reaction score
7
It should be.
Code:
        Game - Display to (Player group((Owner of (Triggering unit)))) the text: (((You received  + gold_color) + (String((Integer(((Real((Point-value of (Triggering unit)))) x 0.75)))))) + (|r for selling a|cffffffff + [COLOR="Red"](name of(triggering unit)[/COLOR]))) + |r.)
 
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