Guard (Procedure)

Revision as of 02:48, 15 February 2012 by imported>Catwheezle (Added "see also" section.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Behavior

Description:
Actor will draw weapon and say tresspassing dialogue, after a few warnings will attack. (It will not cause the actor to pursue the warned actor [usually player] if combat does not start)

The procedure completes:
???

Parameters

  • RestrictedArea (Location): Location that the actor is guarding
  • SuspiciousOf (TargetSelector): If a faction, the faction that the guard will guard against, if an Actor Ref, the actor the guard will guard against. (Usually the PlayerFaction)
  • WarnOnlyRadius (Float): If an actor who qualifies for the "SuspiciousOf" parm gets within this distance of the RestrictedArea, this actor will say warning dialogue.
  • ImmediateAttackRadius (Float): If an actor who qualifies for the "SuspiciousOf" parm gets within this distance of the RestrictedArea, this actor will immediately attack.

                               

Notes

Exceptions to the warning/attacking behavior are:

  • Owners (or faction owners) of the guarded reference.
  • Allies/Friends of the guarding actor.

Game Settings

See Also