Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

New Premium Module: Tyrants of the Moonsea! Read More
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

Deselect Player2 without MakeUnselectable(), or trigger MakeUnselectable() on entering area?

1MMRAM1MMRAM Member Posts: 4
edited May 2018 in Builders - Scripting
Trying to make a fully autonomous companion via character script, but this autonomous independence is being interfered with by all players being selected automatically when entering an area. I'd like to deselect Player2 automatically when entering...but I can't figure out how to do it. Running MakeUnselectable for 1 second would seem to do the trick, but I don't know of any triggers that would run once on every area entered. Giving them the permanent effect UnSelectable (365) via NearInfinity save edit does the job with the benefit of the others script commands don't get interrupted, but makes it impossible to leave the area ("You must gather your party before venturing forth...")

Any advice welcomed!

Comments

Sign In or Register to comment.