I have certain events I'd like to trigger from my server but I don't want 'zones' or anything like that, I want to have client triggered events but from scripts that currently run server side.
For now, the AI mission system runs server side and cannot be executed from a client.
I'd like to have an action (or similar) on certain players (admins using UID) to be able to kick off an AI mission event.
My current train of thought is this:
Have some kind of trigger waiting on the server looking for a client that has a certain variable set (mission = true)
From the client, in game, have the client press the 'mission' action to change their mission variable to true.
The server now sees this variable and triggers the required script on the server as it would do normally.
Is this possible or am I clutching at straws or going about it the wrong way?
Question
kaotix
I have certain events I'd like to trigger from my server but I don't want 'zones' or anything like that, I want to have client triggered events but from scripts that currently run server side.
For now, the AI mission system runs server side and cannot be executed from a client.
I'd like to have an action (or similar) on certain players (admins using UID) to be able to kick off an AI mission event.
My current train of thought is this:
Have some kind of trigger waiting on the server looking for a client that has a certain variable set (mission = true)
From the client, in game, have the client press the 'mission' action to change their mission variable to true.
The server now sees this variable and triggers the required script on the server as it would do normally.
Is this possible or am I clutching at straws or going about it the wrong way?
Thanks
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now