As the title states, I’m working on Warium Tactics, which is my first mod and is meant to be an add-on for WariumVS and Warium. I am adding onto WariumVS’s radar block, which can lock onto VS ships for firing radar ordinance.
What I want to do is allow players to open up a GUI and input a ship’s slug and have the radar display additional features when it is locked onto that matching slug. I have a working GUI for all of that, but I’m completely lost on how VS ships are properly ID’d. Is it just from the slug?
I’m having players input the slug as a string, and the string compared to the VS ship slug, but my system isn’t working. I’m just trying to get a “friendly” text displayed at the bottom if the ship is friendly, and nothing if it isn’t (not inputted into the radar’s filter).
Is inputting a string and matching it against VS vehicle slug IDs the wrong way to go? What’s the best way to grab the ID of a ship for referencing a filter list you think?
Sorry if this is a lot. I can attach my mod if anyone would like to dig through it and see where I’m going wrong.
TLDR; What is the best way to add VS ships to a filtered list to be referenced by a block or a block on a VS ship?
:clueless:
image.png
image.png