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