Jump to content

Recommended Posts

Posted

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?

Posted

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.

Posted

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?

Posted

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!

Posted

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? 

 

Posted

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...