Warcraft 3 documentation
vJASS & Zinc Documentation
For the latest documentation about how it works vJASS and Zinc language layers for Warcraft III, please follow these links:
Jasshelper documentation - Zinc documentation - WC3 Optimizer documentation

Patch 1.29 new natives: a testing place No New Posts General Jass Discussion

Started by
moyack

0 Members and 1 Guest are viewing this topic.

Patch 1.29 new natives: a testing place
on: February 25, 2018, 10:35:35 PM

Hi everyone:

With the new patch 1.29 implemented on WC3 PTR, there's more than 60 new jass functions that needs to be tested and documented for bugs and features. So I prepared this topic to talk about each functions made in the new WC3 engine.

Here's the list:
Code: jass
  1. DecPlayerTechResearched; takes player whichPlayer, integer techid, integer levels returns nothing // Opposite to IncPlayerTechResearched
  2. DeleteHeroAbility; takes unit whichUnit, integer abilCode returns nothing // Remove Hero Ability
  3. DeleteHeroAbility; takes unit whichUnit, integer abilCode returns nothing // Remove Hero Ability
  4. GetAbilityCooldowntakes; integer abilId, integer level returns real
  5. GetAbilityIcon; takes integer abilCode, integer level returns string
  6. GetAbilityManaCosttakes; integer abilId, integer level returns integer
  7. GetAbilityPosX; takes integer abilCode returns integer // Icon Position
  8. GetAbilityPosY; takes integer abilCode returns integer
  9. GetAbilityResearchTooltip; takes integer abilCode, integer level returns string
  10. GetAbilityResearchExtendedTooltip; takes integer abilCode, integer level returns string
  11. GetAbilityTooltip; takes integer abilCode, integer level returns string
  12. GetAbilityExtendedTooltip; takes integer abilCode, integer level returns string
  13. GetAbilityOnIcon; takes integer abilCode returns string // "OnIcon is the icon for these auto-castable ablities when they're turned on"
  14. GetAbilityOnPosX; takes integer abilCode returns integer
  15. GetAbilityOnPosY; takes integer abilCode returns integer
  16. GetAbilityOnTooltip; takes integer abilCode, integer level returns string
  17. GetAbilityOnUberTooltip; takes integer abilCode, integer level returns string
  18. GetItemIconPath; takes item whichItem returns string
  19. GetItemTooltip; takes item whichItem returns string
  20. GetItemExtendedTooltip; takes item whichItem returns string
  21. GetLocalSpecialEffectX; takes effect whichEffect returns real
  22. GetLocalSpecialEffectY; takes effect whichEffect returns real
  23. GetLocalSpecialEffectZ; takes effect whichEffect returns real
  24. GetLocalUnitZ; takes unit whichUnit returns real
  25. GetTriggerPlayerMouseButton; takes nothing returns mousebuttontype
  26. GetTriggerPlayerMousePosition; takes nothing returns location
  27. GetTriggerPlayerMouseX; takes nothing returns real
  28. GetTriggerPlayerMouseY; takes nothing returns real
  29. GetUnitAbilityCooldown; takes unit whichUnit, integer abilId, integer level returns real
  30. GetUnitAbilityCooldownRemaining; takes unit whichUnit, integer abilId returns real
  31. GetUnitAbilityManaCost; takes unit whichUnit, integer abilId, integer level returns integer
  32. GetUnitArmor; takes unit returns real
  33. GetUnitAttackCooldown; takes unit whichUnit, integer weaponIndex returns real
  34. GetUnitBaseDamage; takes unit whichUnit, integer weaponIndex returns integer
  35. GetUnitCollisionSize; takes unit whichUnit returns real
  36. GetUnitDiceNumber; takes unit whichUnit, integer weaponIndex returns integer
  37. GetUnitDiceSides; takes unit whichUnit, integer weaponIndex returns integer
  38. IsUnitInvulnerable; takes unit whichUnit returns boolean
  39. IsUnitSelectable; takes unit whichUnit returns boolean
  40. PlaySpecialEffect; takes effect whichEffect, integer anim returns nothing
  41. SetEventDamage; takes real damage returns nothing // Modify EVENT_UNIT_DAMAGED event damage
  42. SetHeroProperName; takes unit whichUnit, string name returns nothing
  43. SetSpecialEffectAlpha; takes effect whichEffect, integer alpha returns nothing
  44. SetSpecialEffectColor; takes effect whichEffect, integer r, integer g, integer b returns nothing
  45. SetSpecialEffectColorByPlayer; takes effect whichEffect, player whichPlayer returns nothing
  46. SetSpecialEffectPosition; takes effect whichEffect, real x, real y, real z returns nothing
  47. SetSpecialEffectPositionLoc; takes effect whichEffect, location loc returns nothing
  48. SetSpecialEffectOrientation; takes effect whichEffect, real yaw, real pitch, real roll returns nothing
  49. SetSpecialEffectPitch; takes effect whichEffect, real pitch returns nothing
  50. SetSpecialEffectRoll; takes effect whichEffect, real roll returns nothing
  51. SetSpecialEffectTime; takes effect whichEffect, real time returns nothing // Think this won't solve the leak problem
  52. SetSpecialEffectTimeScale; takes effect whichEffect, real timeScale returns nothing
  53. SetSpecialEffectX; takes effect whichEffect, real x returns nothing
  54. SetSpecialEffectY; takes effect whichEffect, real y returns nothing
  55. SetSpecialEffectYaw; takes effect whichEffect, real yaw returns nothing
  56. SetSpecialEffectZ; takes effect whichEffect, real z returns nothing
  57. SetUnitAbilityCooldown; takes unit whichUnit, integer abilId, integer level, real cooldown returns nothing // Set ability cooldown for this specific unit
  58. SetUnitArmor; takes unit whichUnit, real armorAmount returns nothing
  59. SetUnitAttackCooldown; takes unit whichUnit, real cooldown, integer weaponIndex returns nothing // Set all future attack cooldown for this specific unit
  60. SetUnitBaseDamage; takes unit whichUnit, integer baseDamage, integer weaponIndex returns nothing
  61. SetUnitDiceNumber; takes unit whichUnit, integer diceNumber, integer weaponIndex returns nothing
  62. SetUnitDiceSides; takes unit whichUnit, integer diceSides, integer weaponIndex returns nothing
  63. SetUnitName; takes unit whichUnit, string name returns nothing
  64. UnitCancelTimedLife; takes unit whichUnit returns nothing
  65. UnitDisableAbility; takes unit whichUnit, integer abilId, boolean flag, boolean hideUI returns nothing
  66. EndUnitAbilityCooldown; takes unit whichUnit, integer abilCode returns nothing // Finish cooldown for this ability for this unit
  67. UnitHideAbility; takes unit whichUnit, integer abilId, boolean flag returns nothing
  68. UnitInterruptAttack; takes unit whichUnit returns nothing
The idea is to make a testmap for each message that shows how this code works. If you want to join in the processs, just reply this thread with a tesmap and I'll link it in the first post.
« Last Edit: February 25, 2018, 10:49:09 PM by moyack »



Re: Patch 1.29 new natives: a testing place
Reply #1 on: June 05, 2018, 04:00:42 PM

Hello,

SetSpecialEffectYaw does not work. I can confirm this.
« Last Edit: June 11, 2018, 07:29:36 AM by moyack »



Re: Patch 1.29 new natives: a testing place
Reply #2 on: June 11, 2018, 07:30:55 AM

Hmmm, I need to test it too. How did you test it?


 

Started by Purgeandfire

Replies: 0
Views: 2641
Tutorial Zone

Started by moyack

Replies: 1
Views: 9416
Tavern

Started by olofmoleman

Replies: 0
Views: 1470
Warcraft III Models

Started by moyack

Replies: 2
Views: 11652
Site News & Updates

Started by moyack

Replies: 0
Views: 6003
Site News & Updates
Vivir aprendiendo.co - A place for learning stuff, in Spanish   Chaos Realm - The world of Game modders and wc3 addicts   Diplo, a gaming community   Power of Corruption, an altered melee featuring Naga and Demon. Play it now!!!   WC3JASS.com - The JASS Vault + vJASS and Zinc   Jetcraft - A Starcraft II mod   WormTastic Clan (wTc)   Warcraft RESOURCES Reforged: Modelos, mapas, proyectos y mas...