Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
guards help
Author Message
jexnico
Journeyman
*

Posts: 191
Likes Given: 113
Likes Received: 3 in 3 posts
Joined: Jan 2014
Reputation: 0



Post: #1
Lightbulb guards help
how to make sure that city guards do not kill criminal players and, instead, send us to jail for a set time?
01-04-2018 10:17 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Leonidas
Master
**

Posts: 277
Likes Given: 3
Likes Received: 13 in 12 posts
Joined: May 2013
Reputation: 1



Post: #2
RE: guards help
// Will guards kill instantly or follow normal combat rules
GuardsInstantKill=0

Make sure that's set to 0.

And you could make a custom bow that calls a function on=@damage that sends them to jail.
01-04-2018 03:48 PM
Find all posts by this user Like Post Quote this message in a reply
zottolo
Journeyman
*

Posts: 87
Likes Given: 8
Likes Received: 12 in 11 posts
Joined: Dec 2015
Reputation: 0



Post: #3
RE: guards help
or you can work it out with @hit trigger
01-04-2018 04:24 PM
Find all posts by this user Like Post Quote this message in a reply
Criminal
Journeyman
*

Posts: 182
Likes Given: 38
Likes Received: 22 in 22 posts
Joined: Jun 2015
Reputation: 0

SantiagoUO.com

Post: #4
RE: guards help
go sphere_citizens.scp
search:
c_guard
c_guard_f

on=@hit
src.go jail

[Image: mfqAZnj.png]
Discord: SantiagoUO
Skype:
criminaluo
01-05-2018 08:27 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Neissten
Apprentice
*

Posts: 1
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jan 2018
Reputation: 0



Post: #5
RE: guards help
Is it possible to make the guards do this at a certain percentage of the attacked player's health? I'd like to have the jail punishment done if the attacked player is near death.
01-18-2018 02:08 AM
Find all posts by this user Like Post Quote this message in a reply
Tr0p1c4l
Apprentice
*

Posts: 5
Likes Given: 0
Likes Received: 2 in 1 posts
Joined: Nov 2017
Reputation: 0



Post: #6
RE: guards help
on=@hit
if ( <src.hits> < <eval <src.maxhits>/100*30> )
src.go jail

i'm pretty new in sphere but it should be something like that
01-18-2018 02:24 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)