Forum Jump :

Author Message


Posts: 7
Rank:


Level: Member

Country: it
Location: Somewhere in Italy
Occupation: Gamer
Age:
In-game name: JustMikeITA

 
#1 Posted at 2017-01-15 19:21        
     
hi, i created a mission where i have to go patrol a village, at a certain point enemy ambush us, after i've killed all of them i report to the hq with a sidechat trigger telling i got ambushed, after three seconds the hq answer me asking if i have any casualty, and here comes the problem:
i created two trigges:
1) cond: !(alive a) or !(alive b) or !(alive c)
act: a sidechat "yes, we got some casualties"
2) cond: (alive a) and (alive b) and (alive c)
act: a sidechat "no, we're fine"
the problem is that both the trigger get activated, no matter if a, b, c are alive or death, they always say to the hq that we're fine and that we got casualties. Is there anyone who know what i'm doing wrong? thanks

EDIT:
i've just managed to solve it using:
cond: if (triggeractivated trigger1) then {(alive a) and (alive b) and (alive c)};
act: a sidechat "we're fine"

cond: if (triggeractivated trigger1) then {!(alive a) or !(alive b) or !(alive c)};
act: a sidechat "we got casualties"

This post was edited by JustMikeITA (2017-01-15 20:27, 274 days ago)


Author Message


Posts: 497
Rank:


Level: Member

Country: us
Location:
Occupation:
Age: 42
In-game name:

 
#2 Posted at 2017-01-15 21:06        
     
Nice!
I have a thread i started here back in 2013 going over the basics of using !Alive:
http://ironfront.forumchitchat.com/post/using-alive-check-in-a-trigger-for-objectives-6379390?trail=15


Advertisement


Author Message


Posts: 7
Rank:


Level: Member

Country: it
Location: Somewhere in Italy
Occupation: Gamer
Age:
In-game name: JustMikeITA

 
#3 Posted at 2017-01-17 17:13        
     
# Gunter Severloh : Nice!
I have a thread i started here back in 2013 going over the basics of using !Alive:
http://ironfront.forumchitchat.com/post/using-alive-check-in-a-trigger-for-objectives-6379390?trail=15
Thank you very much! I found very useful the script to synchronize a trigger with a marker