- Joined
- Oct 13, 2014
- Messages
- 15
Hey!
Total JASS noob reporting in..
I wanna make it so that my income message appears as shown in the screenshot provided below, and have no idea how to achieve this and would like some help turning it into JASS code.
My goal is to have it sized 20px, with a fade-out, placed as seen in the screenshot above.
This is to avoid having too many messages on the screen, that could bother players while they play.
Here's the income trigger:
I hope anybody can help this fella out. Let me know if you need more from me!
Thanks for reading
Total JASS noob reporting in..
I wanna make it so that my income message appears as shown in the screenshot provided below, and have no idea how to achieve this and would like some help turning it into JASS code.

This is to avoid having too many messages on the screen, that could bother players while they play.
Here's the income trigger:
-
Income
-
Events
-
Time - Every 20.00 seconds of game time
-
-
Conditions
-
Actions
-
Trigger - Run Turn Income to Lumber <gen> (checking conditions)
-
Set VariableSet Income_Setup_Timer = 20
-
Multiboard - Set the text for LEADERBOARD item in column 1, row 13 to (|c00fEBA0EIncome Timer|r: + (String(Income_Setup_Timer)))
-
For each (Integer A) from 1 to 8, do (Player - Add Income[(Integer A)] to (Player((Integer A))).Current gold)
-
For each (Integer A) from 1 to 8, do (Player - Add Income_Lumber[(Integer A)] to (Player((Integer A))).Current lumber)
-
For each (Integer A) from 1 to 8, do (Game - Display to (Player group((Player((Integer A))))) the text: (|cffffcc33>>|r Your income is|cffffcc33:|r + ((String(Income[(Integer A)])) + ( |cffffcc33gold|r - + ((String(Income_Lumber[(Integer A)])) + |cff8080ffmana stone|r(|cff8080ffs|r).)))))
-
Player Group - Pick every player in Playercounting and do (Actions)
-
Loop - Actions
-
Player - Set (Picked player).Food used to 20
-
-
-
-
I hope anybody can help this fella out. Let me know if you need more from me!
Thanks for reading
Last edited: