- Joined
- Oct 12, 2011
- Messages
- 3,449
How can we change a destructible height Z using trigger inside the game? thnks before
native CreateDeadDestructable (integer objectid, real x, real y, real face, real scale, integer variation) returns destructable
native CreateDestructableZ (integer objectid, real x, real y, real z, real face, real scale, integer variation) returns destructable
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