BerryPunny Posted May 10, 2015 Share Posted May 10, 2015 I want to make it so that a corpse in a new room is clickable and when you click it, text appears in a box. Kind of like in Fallout NV when you find the dead prostitute in the room with all the blood and text comes up after you activate the corpse. Any help is appreciated. :smile: Link to comment Share on other sites More sharing options...
Exoclyps Posted May 11, 2015 Share Posted May 11, 2015 (edited) I think your best bet is going with a "trigger box" that use an activator that gives the message. Put the box around the corpse. The basic idea is similar to how you activate mannequins. Putting this script on the activator should do it: Scriptname MessageBox extends ObjectReferenceMessage Property MyMessage AutoEvent OnActivate(ObjectReference akActionRef) MyMessage.Show()EndEvent Edited May 11, 2015 by Exoclyps Link to comment Share on other sites More sharing options...
Di0nysys Posted May 11, 2015 Share Posted May 11, 2015 (edited) A more direct method is to use the OnOpen Event. Do attach the same script above, but with the OnOpen Event instead of the triggerbox.http://www.creationkit.com/OnOpen_-_ObjectReference Edited May 11, 2015 by lennykrapitz Link to comment Share on other sites More sharing options...
lofgren Posted May 11, 2015 Share Posted May 11, 2015 I don't think OnOpen fires for NPCs. It's for doors and such, not containers. Somebody correct me if I'm wrong. Link to comment Share on other sites More sharing options...
Di0nysys Posted May 11, 2015 Share Posted May 11, 2015 NPC's turn into containers on death Link to comment Share on other sites More sharing options...
lofgren Posted May 11, 2015 Share Posted May 11, 2015 I'm pretty certain that's not true either. And since I just said that OnOpen doesn't work for containers or NPCs, it's not even relevant. Link to comment Share on other sites More sharing options...
welwork Posted May 14, 2020 Share Posted May 14, 2020 (edited) Hi, did you get an answer to this? I would like to advance a quest stage 'onopen' of a corpse, is it possible? If not I can just move it to the ondeath but it won't be quite right. Its OK I did it. If anyone else is looking I used OnActivate and checked if the NPC was dead, so Event onActivate(ObjectReference akActor) if Gandhild.isdead() MQ2.SetStage(30) endifendEvent Edited May 14, 2020 by welwork Link to comment Share on other sites More sharing options...
Recommended Posts