The_Chosen_Oreo Corporal
| Subject: [Programming] Jass Functions Tue Sep 27, 2011 10:33 pm | |
| <pre> COMMON.J
- AbilityId constant native AbilityId takes string abilityIdString returns integer
EX: local unit u = GetTriggerUnit() local integer id = AbilityId("shockwave") call UnitAddAbility(u, id)
- AbilityId2String constant native AbilityId2String takes integer abilityId returns string
EX: *Add Something Here...
- Acos native Acos takes real x returns real
EX: local real x = 0.33 local real y = Acos(x)
- AddHeroXP native AddHeroXP takes unit whichHero, integer xpToAdd, boolean showEyeCandy returns nothing
EX: *Add Something Here...
</pre> I'll add more later.. I don't have time right now... | |
|
Serenity09 Moderator
| Subject: Re: [Programming] Jass Functions Tue Oct 11, 2011 3:06 am | |
| | |
|
Pat1487 Moderator
| Subject: Re: [Programming] Jass Functions Tue Oct 11, 2011 1:57 pm | |
| | |
|
The_Chosen_Oreo Corporal
| Subject: Re: [Programming] Jass Functions Wed Oct 12, 2011 6:11 pm | |
| i felt like putting this stuff on the forum because i was bored..
| |
|
Sponsored content
| Subject: Re: [Programming] Jass Functions | |
| |
|