GECK Companion Dialogue Package Help

Post » Sun Apr 29, 2012 5:36 am

Hey guys, I'm trying to make a companion that starts out against you. She is one of the enclave, but when she's almost dead she surrenders. You can choose to kill her, or use her as a companion. I have the companion bit down, but I don't know about the surrender part. At the moment I'm using a Dialogue package that has a condition: GetHealthPercentage <= 20 But then she acts strange. She comes up to talk to me, but it has no words. I told it which topic to use in the main package tab, and in the Begin/End/Change tab I have the same topic under "Begin", and I also told in in the script under "Begin" that she should change faction to PlayerFaction, and get removed from the EnclaveFaction. She also has some other packages she uses that I thought might interfere, so I added a condition to all of them so she only uses them when she's not in the playerfaction. Can anyone help? EDIT: I've looked under tutorials and stuff, but I can't find anything that would help.

It's probably something glaringly obvious that I missed. Kudos to anyone who can help.
User avatar
Makenna Nomad
 
Posts: 3391
Joined: Tue Aug 29, 2006 10:05 pm

Post » Sun Apr 29, 2012 12:44 am

My gut tells me the game thinks she is still in combat with you so its using her default greeting and not the topic you intended. After you've switched all the factions did you try an explicity StopCombat? You can also test to see if she is in combat using ActorRef.IsInCombat just to be sure before initiating the dialogue.
User avatar
Shianne Donato
 
Posts: 3422
Joined: Sat Aug 11, 2007 5:55 am


Return to Fallout: New Vegas