PART II
33.Preset Unit Functions
Last Created Unit - Self Explanible.
Last Restored Unit - The last unit to be restored via Game Cache.
Last Replaced Unit - The last unit to be replaced via the Replace Unit trigger.
Last Haunted Gold mine - The last gold mine to be haunted by a trigger.
Picked unit - The unit(s) picked with a Pick Every Unit in Unit Group trigger.
Matching Unit - Use this when picking a unit group matching a condition.
Random Unit from Unit Group - Duh.
Event Responses: (Self Explanitory)
Attacked Unit
Attacking Unit
Buying Unit
Cancelled Structure
Casting Unit
Constructing Structure
Constructed Structure
Damage Source
Decaying Unit
Dying Unit
Entering Unit
Hero Manipulating Item
Killing Unit
Learning Hero
Leaving Unit
Leveling Hero
Loading Unit
Ordered Unit
Ownership-Changed Unit
Reaserching Unit
Revivable Hero
Reviving Hero
Selling Unit
Sold Unit
Summoned Unit
Summoning Unit
Target Unit of Order being Issued
Target unit Of Ability Being Cast
Targeted Unit
Trained Unit
Transporting Unit
Triggering Unit
Rally-Point as Unit - Will count the rally pointed unit as a unit, if the unit has a rally point ON a unit.
34.Preset String Functions
Concentate Strings - Merges two strings together.
Substring - Uses the 2 points specified and picks the text in between.
Convert Integer to String - Converts an integer into a string.
Convert Real to String - Converts a real into a string.
Convert Real to Formatted String - Converts a real into a string, but only the substring of it specified.
Convert Order to String - Converts an order into a string.
Convert Unit-Type to String - Converts a unit type into a string.
Convert Externalized String - ????
Convert String Case - Converts a string into Lowercase or Uppercase.
Destructible Name - The name of a destructible.
Entered Chat String - The chat string entered.
Matched Chat String - Used with conditions.
Saved-Game Filename - The name of the save game file.
Ability Name - The name of an ability.
Ability Effect Art - The art shown when an ability is cast.
Ability Effect Sound Name - The name of the sound played when an ability is cast.
Load String Value - The value of a load string in a game cache.
Hero Proper Name - The proper name of a hero.
Item Name - The name of an Item
Multiboard Title - The title of a multiboard.
Player Name - The name of a player.
Trigger Name - The name of a Trigger.
Unit Name - The name of a unit.
35.Preset Integer Functions
Arithmitic - A function with a +/- or /,*.
For Loop Integer A - Remembers the number of times an Integer A Loop as run as a number.
For Loop Integer B - Remembers the number of times an Integer B Loop as run as a number.
String Length - The length of a string.
Convert Real to Integer - Duh.
Convert String to Integer - Duh.
Elevator Height - The height of an elevator.
Terrain Cliff Level - The height of a cliff at a region.
Terrain Variance - The terrain variance at a point
Learned Skill Level - The level of a Learned Skill
Number of Players - The number of players in the current game.
Number of Teams - The number of teams in the current game.
Ally Color Filter Setting - The setting of how the color of the allies are displayed, for example if it's at the original settings, you're white, the others are any color, if its at 2, then you're teal, and enemies are red.
Tournement Finish Rule - The rule about when a tourny will finish
Tournement Melee Score - The score of a player.
Load Integer Value - The value of an integer stored in a Game Cache.
Hero Level - The level of the specified hero.
Hero Exp - The exp on the hero.
Hero Attribute - The number of attribute points on str/agi/int and includes/excludes item/ability bonuses.
Unspent Skillpoints - The number of unspent skill points on a hero.
Item Level - The level of an item
Item Charges Remaining - The charges left on an item
Custom Value of Item - The custom value of an item
Leaderbard Position - The position of a player on a leaderboard.
Random Number - A random number between 2 numbers.
Min - The smallest number of the two specified.
Max - The largest number of the two specified.
Abs - The absolute of the number, (5 is 5, -5 is 5).
Sign - Returns the sign of the number, -1 for negative and 1 for positive.
For extra math help - Visit this tutorial:
http://www.thehelper.net/forums/showthread.php?t=39620Modulo - Calculates 2 numbers and finds out the remainder if devided.
Row Count - The number of rows in a multiboard
Column Count - The number of Columns in a multiboard.
Gold Remaining - The gold left in a gold mine.
Player Property - The number of *Player Property* from a player.
Player Tax Rate - The rate of tax that you may have set earlier.
Player Score - The score of a player.
Player Number - The number of a player.
Count Structures - The amount of structures owned by a player.
Count Non-Structures - The amount of non-structures(units) owned by a player.
Current Research Level - The level of a tech for a player.
Max Research Level - The max level of a tech for a player.
Player Team - The number of a players team.
Count Players In Player Group - Duh.
Count Units in Unit Group - Duh.
Count Living Units Owned by Player - Counts the amount of living units of a type owned by a player.
Supply Used - The amount of space a unit takes up in a boat.
Supply Provided - The amount of space a unit has to pick up other units.
Supply Used by Unit-Type - The amount of space a unit-type takes up in a boat.
Supply Provided by Unit-Type - The amount of space a unit-type has to pick up other units.
Point Value of Unit - The custom point value of a unit.
Point Value of Unit-Type - The custom point value of a unit-type.
Custom Value of Unit - The custom value of a unit.
Level of Unit - The level of a unit.
Level of Ability for Unit - Duh.
Count Items Carried - The amount of items carried by a unit.
Size of Inventory - The size of an inventory of a unit.
Count Buffs of Type - The amount of buffs of a type on a unit.
Trigger Evaluation Count - The amount of times an event has occurred on a trigger.
Trigger Execution Count - The amount of times a tigger has fully run.
Count Triggers in Trigger Queue - The amount of triggers in the queue.
36.Preset Real Functions
Arithmitic - A Plus, Minus, Division, or Multiplication Equasion with Real Numbers(With Decimals)
X of Point - the X value of a point
Y of Point - The Y Value of a Point.
Camera Field of Camera Object - A field of a Camera Object.
Camera Field of Current Camera - A field of the Current Camera.
Target X of Camera View - The X point of the Camera Veiw
Target Y of Camera View - The Y point of the Camera Veiw
Target Z of Camera View - The Z point of the Camera Veiw
Source X of Camera View - The Source of where X comes from in the Camera Veiw
Source Y of Camera View - The Source of where Y comes from in the Camera Veiw
Source Z of Camera View - The Source of where Z comes from in the Camera Veiw
Last Transmission Length - The length of the last played transmission on a Cinematic.
Convert Integer to Real - Converts an Integer to a Real Value.
Convert String to Real - Converts an String to a Real Value.
Convert Integer to Real - Converts an Integer to a Real Value.
Convert Degrees to Radians - Converts Degrees to Radians...
Convert Radians to Degrees - Converts Radians to Degrees
Elapsed Time - The elapsed time on a timer..
Remaining Time - The remaining time on a timer...
Initial Time - The starting time for a timer...
Life of a Destructible - The life of a destructible....
Max Life - The max life of a destructible.
Occlusion Height - The height of the occlusion for a destructible.
Damage Taken - The amount of damage taken.
Tournement Time Remaining - Time left in a tournement.
Time of Day - The time of day in game.
Time of Day Speed - The speed that the time of day ticks.
Load Real Value - The value of a Real Stored in a Game Cache.
Item Life - The life of an Item
Red Color of Lightning - 1 or 0, red or not.
Green Color of Lightning - 1 or 0, green or not.
Blue Color of Lightning - 1 or 0, blue or not.
Alpha Value of Lightning - Alpha Value of a Lightning
Random Number - A random Real between 2 numbers.
Random Angle - A random Real between 0.00 and 360.00
Random Percentage - A random percent from 0.00 to 100.00
Distance Between Points - The distance Between 2 Points.
Angle Between Points - The angle between 2 points.
Min - The smallest number of the two specified.
Max - The largest number of the two specified.
Abs - The absolute of the number, (5 is 5, -5 is 5).
Sign - Returns the sign of the number, -1 for negative and 1 for positive.
For extra math help - Visit this tutorial:
http://www.thehelper.net/forums/showthread.php?t=39620Modulo - Same as an integer Mod.
Power - A number powered by another number.
Square Root - The square root of a number.
Sine - For extra math help - Visit this tutorial:
http://www.thehelper.net/forums/showthread.php?t=39620Cosine - Visit this tutorial:
http://www.thehelper.net/forums/showthread.php?t=39620Tangent - Visit this tutorial:
http://www.thehelper.net/forums/showthread.php?t=39620Arcsine - Visit this tutorial:
http://www.thehelper.net/forums/showthread.php?t=39620Arcosine - Visit this tutorial:
http://www.thehelper.net/forums/showthread.php?t=39620Arcangent - Visit this tutorial:
http://www.thehelper.net/forums/showthread.php?t=39620Experience Rate - The rate of experience of a player.
Handicap - A players handicap.
Center X of Region - The X point of the position of a Region.
Center Y of Region - The Y point of the position of a Region.
Min X of Region - The min X point of the position of a Region.
Min Y of Region - The min Y point of the position of a Region.
Max X of Region - The max X point of the position of a Region.
Max Y of Region - The max Y point of the position of a Region.
Width of Region - The width of a region
Height of Region - The Height of a Region.
Sound Length - The length of a sound.
Music Length - THe length of music.
Property - A property of a unit, ex, Life.
Percentage Life - The life of a unit in percent.
Percentage Mana - The mana of a unit in percent.
Facing Angle - The facing angle of a unit.
Movement Speed - The moving speed of a unit.
Movement Speed - The default moving speed of a unit.
Aquisition Range - The aquisition range of a unit.
Aquisition Range - The default aquisition range of a unit.
Turn Speed - The turning Speed of a unit.
Turn Speed - The default turning Speed of a unit.
Prop Window Angle - ????
Prop Window Angle - ????
Flying Height - The flying height of a unit.
37.Preset Unit-Type Functions
Unit-Type of Unit - The unit TYPE of a UNIT.
Random Creep Unit Type - A random creep type of a level.
Random Neutral Building Type - Duh.
Convert String to Unit-Type - Converts a string into a unit type.
Trained Unit Type - The unit type of a trained unit.
38.Preset Item Functions
Last Created Item - The last item created via triggers.
Last Dropped Item - The last item dropped via triggers OR players.
Random Item in Region - A random item picked from a region.
Random Item in Region Matching Condition - A random item from a region matching a condition.
Picked Item - The item(s) picked via a Pick every Item trigger.
Matching Item - The function used to Match a Condition.
Item Carried By Hero - An item carried by a hero in a slot.
Item Carried By Hero Of Type - An item carried by a hero of a type.
Item Being Manipulated - The item being uses/dropped/aquired.
Sold Item - The item being sold.
Target Item of Ordered Being Issued - The targeted item of an order.
Target Item of Ability Being Cast - The targeted item of an ability being cast.
38.Preset Unit Group Functions
Last Created Unit Group - The last unit group created.
Random N Units From Unit Group - A random number of units from a unit group.
Units in Region - All units in a region
Units in Region Owned by Player - All units in a region owned by a player.
Units in Region Matching Condition - All units in a region matching a condition.
Units in Range - All units in a range
Units in Range Matching Condition - All units in a range matching a condition
Units Owned By Player - All units owned by a player
Units Owned By Player Of Type - All units owned by a player of a Unit-Type
Units Owned By Player Matching Condition - All units owned by a player matching a condition
Units of Type - All units of a Unit-Type
Units Selected - All units selected by a player.
40.Preset Player-Group Functions
All Players - Every single player.
All Players Of Control - All players controlled by a computer/user/etc.
All Players Matching Condition - All players matching the specified condition.
Allies of Player - All players whom are allies to the specified player.
Enemies Of Player - All players whom are enemies to the specified player.
Convert Player to Player Group - Converts a single player into a player group.
41.Preset Item-Type Functions
Item-Type of Item - The item type of an item
Random Item Type - A random item type of a level.. -1 is any level.
Random Item Type Of Class - A random item type of a level and class.. -1 is any level.
41.Preset Item-Class Functions
Item-Class of Item - The item class of an item.
42.Preset Point Functions
Center of Region - The center of a region.
Random Point In Region - A randomly arranged point which could be anywhere inside the defined region
Point With Offset - A point with an offset based on co-ordinates
Point With Polar Offset - A point with an offset based on a space and an angle.
Target of Camera Object - The position a camera object is looking at.
Target of Current Camera - The position that the current camera is looking at.
Source Of Current Camera - The position of the current camera.
Convert Co-ordinates to Point - Converts the specified set of co-ordinates into a point
Point of Destructible - The position of a destructible.
Target Point of Issued Order - The point of an issued order, like patrol
Target Point of Ability Being Cast - The point of target when an ability is cast.
Position of Item - The point of an item on the map
Way Gate Destination - The point a waygate would take you to if you went in it.
Player Start Location - The point a player starts at.
Position of Unit - The point of a unit on the map.
Rally Point As Unit - The point of a rally pointed unit.