Darthfett
Aerospace/Cybersecurity Software Engineer
- Reaction score
- 615
http://rapidshare.de/files/9482499/GUI--JASS.txt.html
-----Comments-----
Dashes fixed! (Just found out it is no different in note pad than on here)
What I did was I took a basic trigger, and converted it to custom text a lot, and copied what I saw for the JASS part.
The parts with *'s around them are from other units like a unit group, or another specific unit.
Note pad uploaded
Sorry it's at rapidshare, but i'm having a little trouble removing one of my useless uploads.
Code:
______________________________________________
\ Using Specific Units /
/____________________________________________\
GUI Usage JASS Usage
Last Created Unit - LastCreatedUnit
-
Last Restored Unit - LastRestoredUnitBJ
-
Last Replaced Unit - LastReplacedUnitBJ
-
Last Haunted Gold Mine - LastHauntedGoldMine
-
Picked Unit - EnumUnit
-
Matching Unit - FilterUnit
-
Random Unit from Unit Group - GroupPickRandomUnit(*UnitGroup*
-
Attacked Unit - AttackedUnitBJ
-
Attacking Unit - Attacker
-
Buying Unit - Buying Unit
-
Cancelled Structure - CancelledStructure
-
Casting Unit - SpellAbilityUnit
-
Constructing Structure - ConstructingStructure
-
Constructed Structure - ConstructedStructure
-
Damage Source - EventDamageSource
-
Decaying Unit - DecayingUnit
-
Dying Unit - DyingUnit
-
Entering Unit - EnteringUnit
-
Hero Manipulating Item - ManipulatingUnit
-
Killing Unit - KillingUnitBJ
-
Learning Hero - LearningUnit
-
Leaving Unit - LeavingUnit
-
Leveling Hero - LevelingUnit
-
Loading Unit - LoadedUnitBJ
-
Ordered Unit - OrderedUnit
-
Ownership-changed unit - ChangingUnit
-
Researching Unit - ResearchingUnit
-
Revivable Hero - RevivableUnit
-
Reviving Hero - RevivingUnit
-
Selling Unit - SellingUnit
-
Sold Unit - SoldUnit
-
Summoned Unit - SummonedUnit
-
Summoning Unit - SummoningUnit
-
Target unit of issued order - OrderTargetUnit
-
Target unit of ability being cast - SpellTargetUnit
-
Targeted unit - EventTargetUnit
-
Trained unit - TrainedUnit
-
Transporting unit - TransportUnitBJ
-
Triggering unit - TriggerUnit
-
Rally-Point of (Unit) as a Unit - UnitRallyUnit(Get*Unit*
Code:
______________________________________________
\ Points /
/____________________________________________\
Center of (Region) - GetRectCenter(Get*region*())
-
Random point in (Region) - GetRandomLocInRect(Get*region*())
-
Center of (Region) offset by (X, Y) - OffsetLocation(GetRectCenter(Get*Region*()), *X*, *Y*)
-
Center of (Region) offset by (Distance) towards (Degrees) degrees - PolarProjectionBJ(GetRectCenter(Get*Region*()), *Distance*, *Angle*)
-
Target of (Camera) *1 player games only* - CameraSetupGetDestPositionLoc(Get*Camera*())
-
Target of current camera view *1 player games only* - GetCameraTargetPositionLoc()
-
Source of current camera view *1 player games only* - GetCameraEyePositionLoc()
-
Point(*X*, *Y*) *Coordinates* - Location(*X*, *Y*)
-
Position of (Destructible) - GetDestructableLoc(Get*Destructible*())
-
Target point of issued order *Event Response* - GetOrderPointLoc()
-
Target point of ability being cast *Event Response* - GetSpellTargetLoc()
-
Position of (Item) - GetItemLoc(Get*Item*())
-
Destination of (Waygate) - WaygateGetDestinationLocBJ(Get*Unit*())
-
(Player) start location - GetPlayerStartLocationLoc(Player(*Player # - 1*))
-
Position of (Unit) - GetUnitLoc(Get*Unit*())
-
Rally point of (Unit) as a point - GetUnitRallyPoint(Get*Unit*())
-----Comments-----
Dashes fixed! (Just found out it is no different in note pad than on here)
What I did was I took a basic trigger, and converted it to custom text a lot, and copied what I saw for the JASS part.
The parts with *'s around them are from other units like a unit group, or another specific unit.
Note pad uploaded
Sorry it's at rapidshare, but i'm having a little trouble removing one of my useless uploads.