Jump to content
Sign in to follow this  
v0lus

"Drat, I've been spotted"

Recommended Posts

How can I trigger my player character to go "Uh oh" when the enemy suspects him (heard his footsteps) or "Drat" when the enemy's definitely saw him (detected), through the editor, for stealth missions? If I can make that work, then I would get a good indicator of detection.

Oh, and he doesn't have to actually verbally speak.

Edited by v0lus

Share this post


Link to post
Share on other sites

just put in the trigger's act:

player sideChat "Drat, I've been spotted!";

You could also add some tension music so it goes with the flow of being spotted by the enemy.

Hope it helps,

Ranwer

===========================

NOTE: You could also set the enemies to:

hostile1 setCaptive true;

And then add this to the trigger's act:

hostile1 setCaptive false;

That way, when its set to true, the enemy will not attack till its set to false. :D

Share this post


Link to post
Share on other sites

Correct me if I'm wrong, but that wouldn't detect if an enemy unit "sees" the player would it? Or is there a "detected by" in the trigger field? I can't remember

Share this post


Link to post
Share on other sites

Try to set the trigger up like this:

Activation:

BLUFOR detected by OPFOR (or whatever suits your mission)

and then group your trigger with your player unit, should work.

Share this post


Link to post
Share on other sites
Correct me if I'm wrong, but that wouldn't detect if an enemy unit "sees" the player would it? Or is there a "detected by" in the trigger field? I can't remember

Well the "this setCaptive true" should make the enemy stop attacking till the false command is set by trigger. :confused:

Share this post


Link to post
Share on other sites

The setcaptive would have to be applied on the player, not the enemy.

Share this post


Link to post
Share on other sites

Hmmm... Radios, schmradios, is there an alternative to sideChat, like hint?

Also, I made a Detected by BLUFOR trigger activatable by anyone, used an opfor player, synced them, and tested them on a resistance guy, but even when detected there was no message. What now?

EDIT: Hmmm, while the trigger works, what functions can I use instead when the enemy physically detects me?

Edited by v0lus

Share this post


Link to post
Share on other sites

Condition:

({_x knowsAbout player > 1.5 || behaviour _x == "COMBAT"} count thislist > 0)

On Act:

hint "I see the player"

condition:

({_x knowsAbout player > 0 || behaviour _x == "AWARE"} count thislist > 0)

On Act:

hint "I thought I saw something"

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×