Forum Jump :

Author Message

Sjaku  



Posts: 2
Rank:


Level: Member

Country: fi
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2017-09-19 19:39        
     
Im trying to make this mission where you are trying to escape a camp, but i just cant seem to find how you can get ai not to shoot you in certain places/zones. Ive played hitman scenarios and those have the safezones. Thanks for advance


Author Message


Posts: 91
Rank:


Level: Member

Country: us
Location: Pennsylvania
Occupation:
Age:
In-game name: Xian

 
#2 Posted at 2017-09-20 01:06        
     
Check out setCaptive:
https://community.bistudio.com/wiki/setCaptive

So for example, you can have a trigger where the activation is
yourunitname setCaptive true


and the on Deactivation
yourunitname setCaptive false

When it's set to True, your character is a "captive" and treated like a civilian (basically ignore them)


Advertisement


Author Message


Posts: 1472
Rank:


Level: Member

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2017-09-20 01:08        
     
also use any player present repeating when setting up the trigger.


Author Message

Sjaku  



Posts: 2
Rank:


Level: Member

Country: fi
Location:
Occupation:
Age:
In-game name:

 
#4 Posted at 2017-09-20 04:28        
     
Thanks!