lolopon
Junior Member
Posts: 10
Threads: 5
Joined: Oct 2011
Reputation:
0
|
Remove entitys when picking up an item
Hi!
So, i have a closet that i have placed some wooden boards on to make it look like some one have nailed it shut.
Now i want thoose boards to be removed when i pick up a key so you can enter the closet.
Is there a script to remove entities when picking up an item or colliding with an area?
|
|
10-09-2011, 05:21 PM |
|
Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
RE: Remove entitys when picking up an item
SetEntityActive("name_of_entity", false);
|
|
10-09-2011, 05:53 PM |
|
SonOfLiberty796
Senior Member
Posts: 371
Threads: 39
Joined: Aug 2011
Reputation:
2
|
RE: Remove entitys when picking up an item
What Your Computer said, use that command after you picked up the key.
|
|
10-10-2011, 11:21 PM |
|