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
This topic is the discussión abut the function BlzSetSpecialEffectZ. You can see all the information about this function keyword HERE.

[functions] BlzSetSpecialEffectZ No New Posts Jassdoc

Started by
City17

0 Members and 1 Guest are viewing this topic.

[functions] BlzSetSpecialEffectZ
on: February 24, 2022, 05:06:42 PM

sets the effect's Z position (height)

Added in: 1.29
Before 1.29 there was no direct way to set a special effect's height. The following trick was used as a workaround:
Code: jass
  1. // Creates a temporary platform in the air, the special effect will be put on top of it:
  2. tempDestr = call CreateDestructableZ('OTis', x, y, z, 0, 1, 0)
  3. // Effect spawns on top of platform
  4. call DestroyEffect(AddSpecialEffect(effectPath, x, y))
  5. // Remove platform immediately, only the effect will remain visible for its life duration
  6. call RemoveDestructable(tempDestr)



 

Started by moyack

Replies: 3
Views: 4227
Jassdoc

Started by Jedi

Replies: 5
Views: 14817
General Jass Discussion

Started by moyack

Replies: 40
Views: 58650
Jass Theory & Questions

Started by moyack

Replies: 0
Views: 656
Jassdoc

Started by moyack

Replies: 0
Views: 646
Jassdoc
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...