PDA

View Full Version : scripting journals


TimBob12
07-11-2010, 02:17 PM
Hi again,
once again I am stuck. I understand there is a way to script journal entries and I can do this. I also know that there is a way to run a script on the opening of a placeable. I have a character that is set to die when he is spawned. I need a journal entry to be added once the corpse has been examined. What I need to know is how would I script that and would GetIsOpen work for a corpse of only for proper placeables.

Thanks

TimBob12

If you want to know why check out my WIP

http://www.lucasforums.com/forumdisplay.php?f=324

newbiemodder
07-11-2010, 04:02 PM
Try this tutorial for the journal entries

http://www.lucasforums.com/showthread.php?t=143372

TimBob12
07-11-2010, 04:51 PM
I tried that but couldn't find the OnOpen command.

All I could find was the GetIsOpen command.

newbiemodder
07-11-2010, 05:27 PM
Ok if I understand you correctly, a npc is killed...creating a corpse...and once you examine the corpse/click on it..the journal entry pops.

Check this thread..scan down about half way where stoffe jumps in...she knows her s^$#...I think you can do it that way and instead where they are putting create object, you would put the addjournalentry script functions to produce your journal entry.

http://www.lucasforums.com/showthread.php?t=168222&highlight=bodybag

Hope this is what you're looking for, good luck

TimBob12
07-12-2010, 04:50 PM
Thanks but I get abouts six errors with the script which no one else has so I am going to try a different method.

Thanks anyway.