Very simple food based income trigger not working

SarChasm

New Member
Reaction score
15
Trigger:
  • income test
    • Events
      • Time - Every 2.00 seconds of game time
    • Conditions
    • Actions
      • Player - Add (Player 1 (Red) Food used) to Player 1 (Red) Current gold


I have no clue why. No matter how much food is being used, the income never comes.
 

Gtam

Lerning how to write and read!! Yeah.
Reaction score
164
Try storing the food in a integer variable and add the variable to his current gold.
 

SarChasm

New Member
Reaction score
15
This isn't related to the title, but it's another simple trigger problem and I didn't want to make another topic.

Trigger:
  • CallPig
    • Events
      • Unit - A unit Begins casting an ability
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Call Livestock
    • Actions
      • Unit Group - Pick every unit in (Units within 450.00 of (Position of (Casting unit)) matching ((Unit-type of (Picked unit)) Equal to Pig)) and do (Actions)
        • Loop - Actions
          • Unit - Order (Picked unit) to Move To (Position of (Casting unit))


This isn't working either.
 

cleeezzz

The Undead Ranger.
Reaction score
268
first trigger, you sure its on? and your food used, not available is greater than 1?

2nd trigger

Unit Group - Pick every unit in (Units within 450.00 of (Position of (Casting unit)) matching ((Unit-type of (Matching Unit)) Equal to Pig)) and do (Actions)
 
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