Remove object from map
Posted: Sun Jun 05, 2005 10:56 am
Hi,
I have a map with 4 health bottles on it (item_25_healthbox), and they're giving me problems, because we want that map on a league... and those 4 bottles are not good, so I would like to remove them.
I've tryed this:
local.item_health_25 = spawn script_object
local.item_health_25 model "models/items/item_25_healthbox.tik"
local.item_health_25.origin = ( 1048.0 -2216.0 0.0 )
local.item_health_25.angles = (0 0 0)
local.item_health_25.scale = 1
local.item_health_25 remove
and this:
removeclass item_health_25
NONE of them worked....
I'm new to scripting... so can anyone help me?
I have a map with 4 health bottles on it (item_25_healthbox), and they're giving me problems, because we want that map on a league... and those 4 bottles are not good, so I would like to remove them.
I've tryed this:
local.item_health_25 = spawn script_object
local.item_health_25 model "models/items/item_25_healthbox.tik"
local.item_health_25.origin = ( 1048.0 -2216.0 0.0 )
local.item_health_25.angles = (0 0 0)
local.item_health_25.scale = 1
local.item_health_25 remove
and this:
removeclass item_health_25
NONE of them worked....
I'm new to scripting... so can anyone help me?