PisOgPapir Posted April 10, 2005 Share Posted April 10, 2005 I've been working on a mod that allows you to kill visas. i've been using dlgEditor 2.14(newest) and the script a_leaveparty. The problem is that Visas leaves the party when she's at a planet. But when youre at the Ebon hawn she's there again...damnitl. Also the animations with DlgEditor specified doesn't show. Any workaround to this? How would you go making a conditional script to this? i've read some samples but haven't figured it out too good. Link to comment Share on other sites More sharing options...
stoffe Posted April 10, 2005 Share Posted April 10, 2005 Originally posted by PisOgPapir I've been working on a mod that allows you to kill visas. i've been using dlgEditor 2.14(newest) and the script a_leaveparty. The problem is that Visas leaves the party when she's at a planet. But when youre at the Ebon hawn she's there again... Try this scipt instead: void main() { RemovePartyMember(NPC_VISAS); RemoveAvailableNPC(NPC_VISAS); } Be careful though, if the game expect Visas to be present during some cutscene or conversation when you have removed her Bad Things may happen. Link to comment Share on other sites More sharing options...
PisOgPapir Posted April 10, 2005 Author Share Posted April 10, 2005 yea.. i'll have to remove thoose... or gt her to sacrifice herself during the last scene with nihilitus...that wouldn't be so fun though. Thanks edit: Nup. Nothing happens. she doesn't get removed Link to comment Share on other sites More sharing options...
stoffe Posted April 10, 2005 Share Posted April 10, 2005 Originally posted by PisOgPapir edit: Nup. Nothing happens. she doesn't get removed From the party, or just from the Ebon Hawk? Is her portrait slot empty on the party selection screen or is she still there? It's strange in either case, it worked for me when I just tested it. To test it I put this code in a custom "force power": if (IsAvailableCreature(NPC_VISAS)) { RemovePartyMember(NPC_VISAS); RemoveAvailableNPC(NPC_VISAS); } else { AddAvailableNPCByObject(NPC_VISAS,GetObjectByTag("VisasMarr")); AddPartyMember(NPC_VISAS,GetObjectByTag("VisasMarr")); } Went outside the hawk and used the Force Power. Visas disappeared from the party and party selection screen. Went inside the Ebon Hawk and the starboard dormitory where Visas usually sit and meditate was empty. Went back outside and used the Power again. Visas returned to the party selection screen. Went inside, and she was meditating in the dormitory as usual. Link to comment Share on other sites More sharing options...
PisOgPapir Posted April 10, 2005 Author Share Posted April 10, 2005 hmm thats weird when i run the script from a dialog nothing happens i'll give it a shot more then. --Edit-- Nup the script has an error check if the npc isn't pressent it doesn't run the cutscenes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.