• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

Is there a way to change destructibles height in game?

Status
Not open for further replies.
Level 26
Joined
Aug 18, 2009
Messages
4,097
You cannot move destructables after creation.

native CreateDeadDestructable (integer objectid, real x, real y, real face, real scale, integer variation) returns destructable

places the destructable on the current ground height.

native CreateDestructableZ (integer objectid, real x, real y, real z, real face, real scale, integer variation) returns destructable

places it on a given height.
 

Kazeon

Hosted Project: EC
Level 34
Joined
Oct 12, 2011
Messages
3,449
so how can I fix this?
JASS:
            set udg_C_UI_PointX = GetLocationX(udg_C_UIPoint[udg_C_Loop[1]])
            set udg_C_UI_PointY = GetLocationY(udg_C_UIPoint[udg_C_Loop[1]])
            set udg_C_UI_facing = ( ( 90.00 * I2R(udg_C_config_UIDimension) ) )
            call CreateDestructableZ (integer B000, real udg_C_UI_PointX, real udg_C_UI_PointY, real udg_C_config_height, real udg_C_UI_facing, real 1, integer 1) returns destructable
 
Status
Not open for further replies.
Top