HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

New Gui Functions

03-18-2004, 05:38 PM#1
KaTTaNa
If you don't know Jass, you can now download some additional actions and functions from The Jass Vault compiled into Gui.
Note that these actions and functions are not accesible through any custom editor.
You can download them here.

New actions
Add timed special effect
Add timed special effect to unit
Display Error
Set terrain fog for player
Reset terrain fog for player
Wait for player event
Wait for unit event
Make unit guard unit
Stun Unit
Smart Camera Pan
Give bounty
Add Fading Text
Move item to slot event
Set local unit
Set local integer
Set local real
Give all items to unit

New functions
Base to integer
Find Substring
Find substring (Case Insensitive)
Round Real
ASCII Char to Integer
Number of destructibles in circle
Prompt Player (multiple options)
Item gold cost
Item wood cost
Unit gold cost
Unit wood cost
Set local integer
Trim string (left)
Trim string (right)
Trim string
Integer to base
String Fragment
Reversed string
Replace substrings
Repeated string
Player color code
ASCII Integer to Char
Highlight Hotkey
Base Conversion
Group Intersection
Temporary unit group
Character is number
Player group is empty
Player groups are equal
Unit groups are equal
Xor
Is prime number
Prompt message
Is point pathable
Add player group to player group
Remove player group from player group
Players in team
Temporary player group
Player group index
Unit Life Changed
Temporary point
Temporary Rectangle
Rect Intersection
Temporary Multiboard Item
Item in rectangle matching
Item closest to point
Logarithm
log
ln
Get local real


Just read ReadMe.txt for info on how to set it up.
Btw, the credit is not mine alone. A lot of the functions are by other people at the Jass Vault, I simply compiled the whole lot so it can be used in GUI.

Good luck with it. :D
03-18-2004, 05:50 PM#2
Xaran Alamas
Glad to see the no Local variables in GUI myth has been dispelled... now if only you'd done that BEFORE I went and learnt JASS lol
03-18-2004, 08:48 PM#3
Vexorian
Quote:
Originally Posted by Xaran Alamas
Glad to see the no Local variables in GUI myth has been dispelled... now if only you'd done that BEFORE I went and learnt JASS lol
What makes you say that?

Get Local Real and the likes have some different uses than local variables
03-18-2004, 08:51 PM#4
Xaran Alamas
Quote:
Originally Posted by Lord Vexorian
What makes you say that?

Get Local Real and the likes have some different uses than local variables
Hmm go on I'm intrigued.

And what I mean is a while ago StarcraftFreak I think it was basically stated it wasn't possible to make Local Variables usable in GUI that's all.
03-18-2004, 08:53 PM#5
Vexorian
And local variables are somewhat possible in the UMSWE 4.0 beta mostly because of the enhancer I made
03-19-2004, 07:13 AM#6
Xaran Alamas
Quote:
Originally Posted by Lord Vexorian
And local variables are somewhat possible in the UMSWE 4.0 beta mostly because of the enhancer I made
Yeah well it's rather academic for me now that I know JASS :P I'm just saying that at one time I was told it was not possible at all that's all. ;)
03-19-2004, 12:28 PM#7
Saik
Anyone know if this can be blended into umswe? currently im using ums, but whenever i copy this into the war3 folder i get errors when trying to open my map
03-20-2004, 04:28 PM#8
QuatreDan
I think it'd be really nice if someone could explain how all of those functions are done in JASS. That way, no matter what you use, regular or custom editors, you can still make use of these features. :D
03-21-2004, 06:29 PM#9
KaTTaNa
Go to the Jass Vault, that's where they are taken from.
If you don't know Jass it will be difficult to use them though.