N-DReW25

Require assistance on something

Recommended Posts

Reason for the vague title of this thread is because I myself am not quite sure what the thing I need help with is called. Essentially, if you remember those Mandalorian Sentries who escort your party to Mandalore on Dxun you might remember you had an option to kill the first Sentry and if you tried to walk into the Mandalorian Camp something stops you, spawns in another Sentry and initializes a dialogue with this sentry  Imagine the first Sentry didn't go hostile and was still alive, what I want is if the Exile tried to walk into the Mandalorian Camp something would stop him/her and start a conversation with the Sentry. 

 

I'm not quite sure what this is called though is most likely possible, would anyone know how I can achieve this?

Share this post


Link to post
Share on other sites
43 minutes ago, A Future Pilot said:

I would guess it's a trigger in that area that fires a script which spawns the sentry if he's not already there, and then initiates dialog.

Thank you, I've found what I am looking for. This trigger I've found appears to "activate" once the Sentry goes hostile, attempting to go pass the trigger spawns the second Sentry and starts the dialogue. What I need now is how do I activate the trigger through scripts: I believe I should be able to figure out the rest.

Share this post


Link to post
Share on other sites

Triggers aren't fired by scripts, it's the other way around. A trigger is given specific geometry in the .git file for the module, then you edit the .utt file (which is the trigger file itself) and set its OnEnter script to whatever script you want to fire. Then anytime anyone walks into the area defined for that trigger, the script will fire. (Make sure you check that the person entering is the PC, or otherwise it will fire for anybody that walks in).

What you probably want to do is edit the script for the trigger that's already there :)

  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.