• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Trouble with Integers

Status
Not open for further replies.
Level 1
Joined
Nov 19, 2008
Messages
2
Hi everyone! I seem to be having problems with Integers. >_>
The Income is not increaseing in value as show below.

  • IncomeStart
  • Events
    • Time - Elapsed game time is 0.50 seconds
  • Conditions
  • Actions
    • Set RedIncome = (10 / 4)
    • Set BlueIncome = (10 / 4)
    • Set TealIncome = (10 / 4)
    • Set PurpleIncome = (10 / 4)
    • Set YellowIncome = (10 / 4)
    • Set OrangeIncome = (10 / 4)
    • Set GreenIncome = (10 / 4)
    • Set PinkIncome = (10 / 4)
  • Resources
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Player - Add RedIncome to Player 1 (Red) Current gold
      • Player - Add RedIncome to Player 1 (Red) Current lumber
      • Player - Add BlueIncome to Player 2 (Blue) Current gold
      • Player - Add BlueIncome to Player 2 (Blue) Current lumber
      • Player - Add TealIncome to Player 3 (Teal) Current gold
      • Player - Add TealIncome to Player 3 (Teal) Current lumber
      • Player - Add PurpleIncome to Player 4 (Purple) Current gold
      • Player - Add PurpleIncome to Player 4 (Purple) Current lumber
      • Player - Add YellowIncome to Player 5 (Yellow) Current gold
      • Player - Add YellowIncome to Player 5 (Yellow) Current lumber
      • Player - Add OrangeIncome to Player 6 (Orange) Current gold
      • Player - Add OrangeIncome to Player 6 (Orange) Current lumber
      • Player - Add GreenIncome to Player 7 (Green) Current gold
      • Player - Add GreenIncome to Player 7 (Green) Current lumber
      • Player - Add PinkIncome to Player 8 (Pink) Current gold
      • Player - Add PinkIncome to Player 8 (Pink) Current lumber
  • UpgradeIncome Red
    • Events
      • Unit - A unit owned by Player 1 (Red) Finishes an upgrade
    • Conditions
      • (Researched tech-type) Equal to Upgrade Income
    • Actions
      • Set RedIncome = (RedIncome x (9 / 5))
Can anyone help? Thanks in advance!
 
Status
Not open for further replies.
Top