So, In my game I want to include a thieves guild and I know sneaking isn't going to really be an option but I would like to at least make it to where you can get caught stealing thing if a NPC is looking at you within a certain range. If no one think's this is possible I'll just scrap the idea but I really hope it can be done in some sort of way.
I have the latest update for MV and I think all of the plugins are also all up to date.
This can be easly done with two conditional branches:
Check direction between player and event
Throw "a dice" and depending what roll you get stealing is successful, or you got caught (you can include perk "luck" to get better results - higher luck, less probability to get caught)
What Soulrender says works but has nothing to do with whether an NPC is watching you. If you want it to be based on what NPCs can see, you'll need a way to calculate line of sight, as well as a way to indicate which events actually are NPCs.
I believe CityShrimp's Fog of War plugin provides most of the building blocks you would need, though the plugin is no longer supported, plus it's not quite what it was designed to do so would take some additional setup work.
I know a conditional branch that you can steal from an NPC, if it watch you, you got caught
else you succeeded of stealing, but for a range, you need a range sensor.
Soulrender: I mean that could work in some places but not quite what I was going for... But I'll definetly remember the idea for one of my next projects that'll have modern technology.
Solar_Flare: I'll look into the plugin thanks
ShadowDragon: How would I go about making a range sensor, that doesn't sense through walls?
range sensor = a plugin, there are different ones, but you need to look which works for you.
1 have range of sight, other by region, (can be nice IF the guard/npc stays still, but look
around from time to time. and there are other methodes, but you have to look what
works best for you. will it fit, what is best way or combine with other events to get things
to work etc etc. but that is up to you.
ShadowDragon: Ok I'll look around for a plugin like that. It's shouldn't be too hard, Right?😅
Well Im a big fan of simpliest ideas
I dont like overdoing some stuff - i learned it in work, because they dont Pay me for doing more than its required =)
I get that, and I ended up kinda combining your Idea and ShadowDragon's to get something resembling what I was trying to go for
Good luck, show your progress then I might help you improve it ;]
I will once I work out how the plugin works a little bit more