SphereCommunity

Full Version: If I Use SRC.NEWITEM= In Script To Add an Item 2 World Is There a Command 2 Remove It
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.. I'm trying to figure out if there is a command I can add to a script to remove an item after it's been added to the world. When someone uses the item I scripted an SRC.NEWITEM= will appear in the world by them but I just want it there for a second and then to disappear. Is there a SRC.REMOVEITEM= command or something else that will look for the new item ID that has been made and remove it from the world shortly after? I have tried using the REMOVE command after it's made, and tried setting the new item to decay with no luck..it still just stays in world and isn't removed.
Thanks all
Code:
somescript
SRC.NEWITEM=blabla
SRC.ACT.TIMER=1
and on item that u want removed u can use
Code:
ONTRIGGER=TIMER
  TIMER=-1
  REMOVE
  RETURN 1
Mulambo thanks again man that worked great!
Reference URL's