viking99 Posted April 22, 2011 Share Posted April 22, 2011 (edited) I have created a hostagesituation where a woman is trapped by fiends. I looked at the boulder city hostage situation but chose to go with a less complicated script. I run into a problem of the woman being excuted immediatly before I could save her. So I added her to the fiend faction and set her restrained to keep her from battling the player. The scripts and the triggers works without problems however I have a problem after i unrestrain her. Her greeting won´t work and she refuses to respond to dialogue. Other changes such as changing her faction, re equipping her and ai package work. This is quite embarassing as by know I have adviced half the forums how to make dialogue work.. :wallbash: She is also slow compared to normal. She follows the player as she should but she won´t run. I am out of ideas so help would be appreciated. I set up the scripting so I have one trigger enabling her and start her and let her take the position in the captive marker. One trigger sets her restrained. One trigger just close by her side unrestraines her. this is the scripts: 1. SCN HMDukeTriggerSCRIPT short addOnce Begin OnTrigger Player If GetStage HMQ4 == 70 && addOnce == 0 DukeREF.disable HMDukeRef.enable HMDukeRef.removeItem weapNVServiceRifle 1 HMDukeRef.removeItem ArmorMetal 1 HMDukeRef.removeItem ArmorMetalHelmet 1 HMDukeRef.addItem HMHuntersCombatArmor 1 HMDukeRef.addItem HMWeaponScoutRifle 1 HMDukeRef.addItem HatNCR1stReconBeret 1 HMDukeRef.addItem Ammo308 36 HMSamanthaCoburnPrisonerREF.enable HMSamanthaCoburnPrisonerREF.RemoveItem WeapNVTrailCarbine 1 set addOnce to 1 endif end 2. SCN HMSamanthaPrisonTriggerSCRIPT short addOnce Begin OnTrigger Player If GetStage HMQ4 == 70 && addOnce == 0 HMSamanthaCoburnPrisonerREF.setRestrained 1 set addOnce to 1 endif end 3. SCN HMSamanthaReleaseTriggerSCRIPT short addOnce Begin OnTrigger Player If GetStage HMQ4 == 70 && addOnce == 0 HMSamanthaCoburnPrisonerREF.removeFromFaction HMPrisonerFaction HMSamanthaCoburnPrisonerREF.addToFaction HMHuntersLodgeFaction 0 HMSamanthaCoburnPrisonerREF.setRestrained 0 HMSamanthaCoburnPrisonerREF.addItem WeapNVTrailCarbine 1 setStage HMQ4 80 set addOnce to 1 endif end I should add that I have set getsId, speaker and all conditions that are needed. The greeting topic is in an active quest and works well on the other npc that are using it. Edited April 22, 2011 by viking99 Link to comment Share on other sites More sharing options...
rickerhk Posted April 22, 2011 Share Posted April 22, 2011 She is also slow compared to normal. She follows the player as she should but she won´t run. I am out of ideas so help would be appreciated.In the follow package, click the 'always run' box. If you are running, she will run. For the dialog - does she have her own object script with an 'on activate' block that might be intercepting the activation? Link to comment Share on other sites More sharing options...
viking99 Posted April 22, 2011 Author Share Posted April 22, 2011 (edited) She is also slow compared to normal. She follows the player as she should but she won´t run. I am out of ideas so help would be appreciated.In the follow package, click the 'always run' box. If you are running, she will run. For the dialog - does she have her own object script with an 'on activate' block that might be intercepting the activation? I clicked the always run and she follows well now only the dialogue part left. She has no script attached to her I looked at the boulder city solution but it seemed too complicated and i don´t need all the functions of that script so I made my own solution. In short everything should work she has no script attached to her and I have no clue what the problem is. Thanks rickehk, if worst comes to worst I´ll replace the dialogue with a message it´s real annoying thou so If anyone can come up with something or have experienced the problem I would appreciate to hear of it. Edited April 22, 2011 by viking99 Link to comment Share on other sites More sharing options...
rickerhk Posted April 22, 2011 Share Posted April 22, 2011 On the quest data tab, is her voice type or getsid there as well as on the greeting topic? Link to comment Share on other sites More sharing options...
viking99 Posted April 22, 2011 Author Share Posted April 22, 2011 On the quest data tab, is her voice type or getsid there as well as on the greeting topic?her voice type is female adult 01 default in both npc window and greeting window I am not sure with what you mean with the quest data tab she is a part of a quest with several npc and the quest data tab is not limited to her. btw I copied the topic from another Npc though the voice typ was changed to hers when I set speaker. Can copying the topic have created the problem? I´ll try a forced greeting topic and see what happens... Link to comment Share on other sites More sharing options...
rickerhk Posted April 22, 2011 Share Posted April 22, 2011 Copying the infos of a topic should be no problem as long as you set the conditions if needed.Is your quest set to at least 75 priority? How about factions in her NPC record? Some generic dialog quests use faction membership and if your quest is a lower priority it may be a problem. Link to comment Share on other sites More sharing options...
viking99 Posted April 22, 2011 Author Share Posted April 22, 2011 (edited) Copying the infos of a topic should be no problem as long as you set the conditions if needed.Is your quest set to at least 75 priority? How about factions in her NPC record? Some generic dialog quests use faction membership and if your quest is a lower priority it may be a problem. Her quest is set to 55 priority, she doesn´t have any generic factions only custom ones. I have swopped her between prisoner and hunter faction. btw forced greeting did not work, I am now redoing the topic from start and will test her with a save from before her current ref is loaded. The geck is a very strange tool, as you said copying a topic shouldn´t cause a problem as long as speaker and condition is set and still that was the problem. :wacko: Thanks for all your help it is working now! Edited April 22, 2011 by viking99 Link to comment Share on other sites More sharing options...
Recommended Posts