Scripting out

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
spy0012
Sergeant
Posts: 53
Joined: Thu Jun 17, 2004 10:09 pm

Scripting out

Post by spy0012 »

Hi Again,

Is there a way to script out func in a stock map?

Example a barrel in bizerte in BT could i script that out just like you can script in items, i can script items in as i modded tunisia but i wondered if you could script out or change what it is.

Cheers for all your help guys, learning lots here
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

targetname

Post by tltrude »

Only if it has a targetname, and they probably don't.
Tom Trude,

Image
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

removeclass func_barrel
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Ric-hard
Sergeant Major
Posts: 102
Joined: Sun Feb 29, 2004 6:44 am
Location: sweden
Contact:

Post by Ric-hard »

removeclass barrelobject
spy0012
Sergeant
Posts: 53
Joined: Thu Jun 17, 2004 10:09 pm

Post by spy0012 »

How would i add that to a script, just as it is or call it somehow, any help please

Thanks
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

yup...

Code: Select all

main:
level waittill prespawn
removeclass barrelobject
level waittill spawn
end
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
spy0012
Sergeant
Posts: 53
Joined: Thu Jun 17, 2004 10:09 pm

Post by spy0012 »

thanks guys worked a treat, hate people nading the barrels on bizerte killing there own team.

Again thanks alot
Post Reply