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?
Remove object from map
Moderator: Moderators
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
Code: Select all
removeclass Health-
[NER-PT]Thanatos
- Private
- Posts: 3
- Joined: Sun Jun 05, 2005 10:48 am
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
-
Green Beret
- Major General
- Posts: 746
- Joined: Mon Apr 19, 2004 12:21 pm
- Contact:


