Post by Darth Maul on Feb 12, 2020 14:16:13 GMT
Follow NPC with [] brackets in name
You can follow npc's with brackets in their name by using the file system.
Create a text file in your elfsettings folder, and call it whatever you want. In the above example I called it boat.txt.
Then use this script to follow the npc.
auto 100 follow '$fileline.'boat.txt'.1'
Ofcourse you can always add more functionality to it.
Remember to store this file in your elfsettings folder!
If you're using one of my new scripts that uses this, you can download the text file below:
Download here
-------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------
--------------------------> n_boatnpc.txt (388 B) < ------------------------
-------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------
If you'd rather create the text file yourself this is my current list of boat NPCs, with its line number. It's important to keep the same line number for each npc name so it matches the lines associated with my scripts.
- [Boat] Captain Bluebear
- [Boat] Captain Fearless
- [Boat] Karith
- [Boat] Captain Breezelda
- [Boat] Captain Greyhound
- [Boat] Captain Seagull
- [Boat] Captain Seahorse
- [Boat] Captain Breezelda
- [Boat] Jack Fate
- [Boat] Petros
- [Boat] Captain Sinbeard
- [Boat] Charles
- [Boat] Pemaret
- Captain Chelop
- [Boat] Captain Crunch
- [Boat] Captain Pokey
- [Boat] Captain Meshif
- [Boat] Captain Max