HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Text and subtraction

08-30-2004, 06:59 PM#1
SyKot
I need some help at Auto Timed Text and Subtraction,

wanted to know how to display the Text for the owner of Ordered Unit, Trained Unit, etc...

Other thing is how can i subtracte a value from a units Mana.
08-30-2004, 07:08 PM#2
Satz
Unit - Set mana of UNIT to ((Mana of UNIT) - AMOUNT)

Game - Display to (Owner of (UNIT)), at offset (0.00, 0.00) the text: TEXT
08-30-2004, 07:09 PM#3
Eeporgorg
1.Display auto-timed text to Player group(Player[Player number of owner of (your unit) with (message)

2. Set (your units) current mana to current mana of (your unit) - (your value)

Satz, text message is only for player groups, so its a bit more compliacated then that.
08-30-2004, 07:11 PM#4
SyKot
Thx for the Help dudes, it was fast :P
08-30-2004, 07:18 PM#5
Satz
Actually I just copied and pasted code straight out of my WE, with the amount of Mods I have installed god only knows what triggers invent themselves. ATM UMSWE, been using that ever since good old Scio posted it on UMSMaps.

Actually for the standard WE you would do this:

Game - Display to (Player group((Owner of (Triggering unit)))) the text: TEXT
08-30-2004, 07:19 PM#6
Eeporgorg
Got Rep?

Rep provides the right nutrients to make bones strong and, ah hell, just look at my sig.


@Satz:

I added an extra step... Oops. Thanks for the correction. :god_help_us:
08-30-2004, 07:22 PM#7
Satz
Why would one care so much about Rep, I mean what are you trying to do, become a Mod?

The easiest way to become a Moderator is to manipulate the Administrator into a friendship ...
08-30-2004, 07:24 PM#8
Eeporgorg
I don't think you can become a mod through rep, but I don't know much about the board system. I just need 50 so I can change my dumb title from 6 months ago.
08-30-2004, 07:28 PM#9
SyKot
How to do that, click on "Reputation" ?