• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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