SphereCommunity
Custom Guards - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Custom Guards (/Thread-Custom-Guards)



Custom Guards - htid4life - 12-02-2012 03:59 AM

Hey guys i was wondering is there away to disable when a guard appears so basically when player calls guards they dont appear im going to make wandering guards.


RE: Custom Guards - RanXerox - 12-02-2012 04:02 AM

Edit the various map files and remove the guarded region flag from entries where you don't want the default guard behavior.


RE: Custom Guards - htid4life - 12-02-2012 04:07 AM

thing is i want it guarded just ima spawn the guards my self just need calling guards turned off


RE: Custom Guards - Mordaunt - 12-02-2012 04:15 AM

Speech event for the region...

On=*guards*
Run custom guards function
Return 1


RE: Custom Guards - Shaklaban - 12-02-2012 05:27 AM

[events e_player]
on=@callguards
...
custom guard script here
...
return 1

http://wiki.sphere.torfo.org/index.php/@CallGuards


RE: Custom Guards - Mordaunt - 12-02-2012 07:06 AM

Ahh I was unaware of that trigger