I know very little about lua, but so far have been able to write a script to strip all of my players weapons and execute it from inside my game. Is there a way to have this script auto-execute on startup so that each time the map loads it will strip my character of weapons without me having to go through the dev. console?
The same goes for my third person camera perspective, I can enter it manually from within the game but is there a way to have it start that way? Thanks in advance to anyone able to give me some help. I have a variety of other questions that may come down to lua at some point but for the time being I hope to keep as much of it as possible within the confines of the map editor.
EDIT - Also, camera angles: If I wanted to trigger a quick camera change which would show the player their character from a front on view for a second or two before snapping back to third person, would this have to be accomplished in lua? Or are there simpler ways to do this from within the editor itself? The skin colour of the character is important and from third person perspective it’s not particularly obvious, so any camera trick which would get players looking at their characters briefly would be perfect.
Many thanks in advance for your help and advice.