Frictional Games Forum (read-only)

Full Version: Take lantern from player?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My mod has a dream sequence where you walk around with a lantern in a dark area.
As soon as the scare in the map happens you wake up scared shitless. But the player is still holding the lantern. How do I make the lantern disappear so the player won't wake up holding a lantern which is strange.

"RemoveItem("Lantern");" removes it from the inventory but the player is still holding it.



Thanks
PHP Code:
SetLanternActive(falsefalse); 

First false disables it, second one disables the effects (lowering it and sounds). Put it before RemoveItem(); Smile