Jump to content
Sign in to follow this  
Twiznak

How do I activate a trigger, on a dedicated server, when a player enters the area.

Recommended Posts

The players variable is set to "p_1". In Locally hosted multiplayer sessions the trigger work fine. On a dedicated server, the trigger does not activate when the synced trigger owner enters the trigger area. I tried using script in the activation condition field but I have reached a dead end. Would somebody please tell me how to activate a trigger, on a dedicated server, when "p_1" enters the trigger area. Thank you for your help.

Share this post


Link to post
Share on other sites

What you describe should work fine in a dedicated environment.

 

Instead there may be a problem with the activation or script making reference to 'player' which won't exist. So the trigger is firing and working fine, but your code isn't being correctly executed.

https://community.bistudio.com/wiki/player

 

That said, you could try a trigger set to ANY PLAYER, PRESENT and put the following in the activation field;

p_1 inArea thisTrigger

But I think your problem lies elsewhere.

 

Share this post


Link to post
Share on other sites
7 hours ago, lsd said:

What you describe should work fine in a dedicated environment.

 

Instead there may be a problem with the activation or script making reference to 'player' which won't exist. So the trigger is firing and working fine, but your code isn't being correctly executed.

https://community.bistudio.com/wiki/player

 

That said, you could try a trigger set to ANY PLAYER, PRESENT and put the following in the activation field;


p_1 inArea thisTrigger

But I think your problem lies elsewhere.

 

Winner Winner Chicken Dinner! Thank you. Dude, you have no idea how awesome you are. I google search every possible combination of the words "amra 3 How to activate a trigger on a dedicated server" and NADA. Dozens of unresolved forum posts asking similar questions. 7 years of these posts and your the guy that nailed it on the first answer! Well done, thank you, Sir.

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  

×