amokrun1 Posted June 9 Posted June 9 Not sure if it is even possible. I am placing a corpse behind a force field but one can still loot the corpse if angling the crosshair correctly. Don't want that. Is it possible to make the corpse unlootable, or perhaps another approach to make it so the player cannot interact with the corpse at all?
madmongo Posted June 10 Posted June 10 If you mark all of the objects that the corpse has as unplayable, then they won't show up when the player tries to loot the corpse. Alternately, you could probably do something with an OnActivate script on the corpse so that the player trying to activate the corpse for looting wouldn't do anything useful.
amokrun1 Posted June 13 Author Posted June 13 Thanks for the reply! I actually don't want a prompt to show up at all, the same way as if the crosshair were trained on a static. There is nothing in the corpse inventory so there is nothing to set as unplayable anyway. Can something be done with an OnActivate script to disable the crosshair, or to make the corpse unable to be interacted with?
sullyvanj93 Posted June 13 Posted June 13 Might be a way to make a static corpse, rather than an actual one? Or another option, may be a bit roundabout, is to create a trigger box around your corpse that will disablecontrol 5, which is just the activate control. I've done this for certain quest scenes, and it works quite well!
amokrun1 Posted June 20 Author Posted June 20 So I am trying the trigger box but I am no scripter by any means. The script I am using doesn't seem to do anything. It looks like this: Begin OnTriggerEnter Player disablecontrol 5 end I also tried with OnTrigger, didn't work either. Is this script complete?
Radioactivelad Posted June 26 Posted June 26 Usually you can give an object an OnActivate script block that does nothing to disable all the normal functionality of activating something. Doors won't open, activators won't toggle, etc. I don't know off the top of my head if it'll work the same with an NPC, but in theory it should.
Recommended Posts