Frictional Games Forum (read-only)

Full Version: How to make an entity disappear when an item is clicked on it
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
As title says. I have the entity, the particle effects to occur and the sound. I just dont know the script to use to make the scripts all occur.

i am using a chemical jar which liek in the game once i click on the slime web it should disappear. I also have the entity active function down. All i need is the script which activates it all when i click on it using the item (chemical jar).
AddUseItemCallback -> chemJar on Slime -> SetEntityActive("slime", false);
Thanks, i was using a collidecallback... no idea why.