• 0

    posted a message on [possible bug] unit costs and triggers

    Currently i have in my map a trigger a follows:

    Events - Unit - Any Unit Enters P1_75_Line

    Conditions - (Custom value 3 of (Triggering unit)) != 1.0

    Actions - UI - Display (Name of (Unit type of (Triggering unit))) for (All players) to Chat area Player - Modify player (Triggering player) Minerals: Add (Minerals cost of (Unit type of (Triggering unit))) Unit - Set (Triggering unit) custom value 3 to 1.0

    So the goal of this is to refund the cost of a unit which enters a region, which it does but only for built in units NOT custom units. I have checked that the CUnit_CostResource on the custom units is set and it doesn't even work with duplicated unedited units. Is this a bug or do i not have something set correctly? Any help is appreciated. Thanks!

    Posted in: Galaxy Editor Bugs and Feedback
  • To post a comment, please or register a new account.