Hi guys, so Im working on a level where the main hero needs to escape from a tower but to do so he needs to avoid guards along the way. If he is spotted the guard will run up to him say some lines and player transfer him into jail. I have the movement route and even the script to allow the guards to spot him all set up but what I would like to add is a jump in the route when hes spotted and most importantly I need the guards to speed up as Ive set their speed rather low to make the routes they take a bit challenging to get by and more realistic. I'll list the commands Ive used below, any help would be appreciated.
Guard 1
Autonomous Movement
Custom
Route - this._alertBallon = 4
this._chaseRange = 5
this._alertSound = 'saint1'
this._alertCommonEvent = 1
and then the route he patrols, left left up up etc.
Under contents I have text, you've been caught sorta thing and a transfer Player.
Need help with guard scripting
● ARCHIVED · READ-ONLY