Hey guys I'm a little stumped here so maybe someone else can look at this and see what i need.

Basically i have a basic patrol setup using timers in story editor. I have a character in a jail cell that will be trying to escape. What i've accomplished is...

If character leaves cell when guard is looking it triggers the proper response
If guard sees player stealing the jail cell key it triggers properly.

What im wanting is if you happen to run into the guard when your outside of the jail cell. The problem being that if i just use a simple "charactersawcharacter" it triggers even when player is in the jail cell. What i've tried...

I've tried setting global events when the jail cell is opened so itd go like

IF charactersawcharacter(blahblah)
and
globaleventset
then
do what i want

This gave an error because both those IFs have to be in front and cant be mixed.
Used charactercanseecharacter(blahblahblah) and it let me play but didnt work unless the global event was being set at the same time the guard could see me

I dont want a huge long post so just suffice to say i've tried a few variations and looked through the list trying to find something similar. So if someone else has some advice or something new to try please let me know smile

Also this is what i've got before i gave up

IF
ItemOpened(ITEM_DOOR_DungeonPrison_A_000, 1)
THEN
CharacterSetEvent(CHARACTER_Player2, "escape");

IF CharacterEvent(CHARACTER_Player2, "escape")
AND
CharacterCanSeeCharacter(CHARACTER_LUCS_NPC_M_N_ImmaculatePrisonPatrolGuardBase_000, CHARACTER_Player2, 1)
THEN
DialogStartTwoSpeakerDialog("guardcatchkey", CHARACTER_LUCS_NPC_M_N_ImmaculatePrisonPatrolGuardBase_000, CHARACTER_Player2);

Last edited by Demonata08; 06/08/14 06:18 AM.