Star Trek Online

Star Trek Online (
-   The Foundry for Star Trek Online - Discussion & Feedback (
-   -   Killing off an informer. (

Archived Post 02-02-2012 06:40 AM

Killing off an informer.
I am working on a mission and I want the option to the player to do away with an inefficient spy if they want. I have the two separate lines of dialog. One for letting them live one for killing them but I cant seem to actually get it to work. Is this even possible?

Archived Post 02-02-2012 07:28 AM


Originally Posted by abaddon653 (Post 3986521)
I have the two separate lines of dialog. One for letting them live one for killing them but I cant seem to actually get it to work. Is this even possible?

Currently, there is no way to switch an NPC from Friendly to Enemy or to despawn a friendly NPC and replace it with an enemy one.

Any other option, like spawning enemies to kill the friendly NPC or dropping the NPC to its death through hidden doors, could fail miserably if the player catches on to what you've done. :o

Archived Post 02-02-2012 11:00 AM

The only real option is to have the friendly npc on a platform. Choosing to save him, does nothing and he lives. Choosing to kill, the platform disappears, dropping the npc under the map, then triggers a new enemy to spawn, if you can pull it off.

Archived Post 02-02-2012 04:40 PM

There's another option, but it's trickier. Use an NPC group instead of a contact. So, your informant will have to have some back-up somewhere in the vicinity.

Wall off all the enemies behind invisible walls so they won't attack. Then place a map dialogue and trigger it via component reached or something like that. Set this set of invisible walls to disappear when that dialogue completes. Next, place a second set of invisible walls in the same location that appear via dialogue prompt reached on the "non-kill" option.

The result of this is that the invisible walls will keep the NPC from attacking until the dialogue is complete. And, if you choose not to kill them, another set of invisible walls will continue to keep them from attacking afterwards.

The reason to do it this way and not have the invisible walls disappear on component complete is that it prevents the enemies from attacking prematurely, causing the dialogue to minimize uncompleted.

One little tip: if possible, try to place the invisible walled enemies in areas where the player probably won't go too close to. Sometimes the stupid BOffs will "jump" invisible walls, so it's better if you have the dialogue trigger before the player is that close, and keep the other walled NPCs out of the way where the player probably won't go too close to.

Archived Post 02-07-2012 08:16 AM

What if you set the NPC contact to a state where it is visible until you finish talking to him, but have him set to hidden right after that. THEN set up a hostile NPC group, set the actor so he is in the exact spot the contact was in (using coordinates) and set the NPC hostile to appear when the objective is complete. Does that work?

Archived Post 02-08-2012 02:13 AM

No, because you can't hide contacts and enemy groups. We were told that it's because if we could hide contacts we could make missions which couldn't be completed, but that honestly makes no sense.

We can hide interacts and those could just as easily make a mission that couldn't be completed, but they don't because the only hide options available for them are Objective Complete. The same thing could easily be done with a contact or enemy group, and certainly hiding a contact/group that is not even part of the storyline wouldn't cause any danger of the mission being broken.

Therefore, I assume there is some sort of technical limitation that prevented that option in the past, and I very much hope that will change in the future. It would make these sorts of things much easier and prevent the need to use absurd work arounds like invisible walls or dropping the contact through the floor.

All times are GMT -7. The time now is 09:48 PM.