I am thinking about scripting a “welcome to Place__” whenever you enter a location. For example, if I have a place called Town of the elders and when you enter the area it displays it on the screen using a widget in the HUD. I know how to do this with trigger volumes and stuff, but How do you do this if the location has a weird shape like an oval or something? if I just create a box, it will display this if I possibly step into from a nearby road or path that doesn’t quite fit or make sense as being “in” that area?
I could possible setup actors with collisions on entry points, but then I would have it pop up for every overlap or hit. A giant collision box on an actor could work, but then its a square and might trigger over and over if i am on the edge of said collision box/sphere/capsule…
So How do i set something up like this? Any ideas on how to make a shape or something to gauge when the player actually steps into that location?
A similar question was asked some times ago, i am pretty sure that someone was able to make a “custom shape” but i dont know how.
I think that if you have something like a city, is ok having the Welcome from a certain distance of the city,
You dont have to Welcome thee player only when they step on the gate, if you have a big city with multiple gates and fields,
you can surely just place a sphere trigget box and get the overall shape of the city.
Beside that, you can fix the “trigger over and over” making a double check,
with 2 Trigger-Sphere , one bigger one smaller, and adding a variable to know where the player is.
So when you enter the Inner sphere you check if the City he is entering is the same is already is, If is not, Say Welcome,
When you leave the bigger sphere, you say : you are leaving the city,
This way you can avoid continue popup of welcome and leaving.
Because the player Enter and Leave from 2 different “Distance-Locations”