Hi there! I'm trying to settle up events that can check for the actor ID of the actor that activated it, and do something only to said actor.
I'm also using the Alpha NET plugin to allow multiplayer mode, so simply resorting to getting the party leader's ID (as it could be done in a singleplayer setting) isn't enough.
One idea I had was to get the party position of who activated said event and then getting the actor id, but I don't know to to do that.
I'm still starting to learn how to work with the engine, so sorry if I missed something obvious.
Is the event activated by the use of a skill?
You'll need to give us links to the plugins that allow you to make a multiplayer, because they have to have changed the datastructure for that, and without looking at the code no one will be able to give you an answer that will work with that plugin.
Describe in detail what you want to do with your event. We may be able to find a solution without using scripts.
You can directly check if an actor in your party is a certain class. Does your multiplayer plugin interfere with that? If so, how exactly does the multiplayer plugin work?
So the players are able to independently walk around the map but the game considers them part of the same party? Do all of your players have to have different classes?
Exactly! And also yes, each one have to have a different class
There is no vanilla way to do what you want because you have no way of asking which player activated the event. Does the plugin have any plugin commands or parameters to change? For instance, if you could make it so the player who interacts with something is always switched to the first party position then we could go from there. If not you will have get someone to look at the code like Andar said.
I don't think so, most of it's commands and parameters are related to configuring connection and event for all players at once. I'll see if i can get someone to look at the code. Anyways, thanks for the help!!