IMM_VSTAT
Keywords: IMM_VSTAT, WIZ_VSTAT
=== STAFF MANUAL ===
Usage: vstat mob <vid>
vstat obj <vid>
vstat trg <vid> [-n]
Description:
Display the full prototype statistics for a mob, object, or
trigger by its virtual ID. Unlike stat which shows live
instances, vstat always shows the prototype template. Requires
General privileges.
Types:
mob ............ Show mob prototype stats -- same output as
mstat (identity, attributes, armor, HP,
combat, flags, scripts, inventory, affects).
obj ............ Show object prototype stats -- same output
as ostat (identity, flags, type values,
durability, affections, scripts, variables).
trg ............ Show trigger prototype details and full
script source code (also accepts trig).
Trigger Output:
Identity Name and VID.
Trigger Class Mob, Object, Room, or Global.
Trigger Type Type flags (Command, Speech, Greet, etc.)
and any script flags.
Arguments Numeric arg (N Arg) and arg list string.
Shared Variables Prototype-level shared variables with
values (UID refs resolved to names).
Script Source Full script code. The trigger is compiled
before display so any compiler errors are
appended at the end.
Line Numbers:
The -n flag (triggers only) prepends line numbers to each
line of script source, useful for debugging compiler errors:
> vstat trg core:ai:3 -n
1: if %actor.is_pc%
2: say Hello, %actor.name%!
3: end
Notes:
- The VID inherits your current zone if no zone prefix
is given.
- Type keywords can be abbreviated.
Related Helpfiles: WIZ_STAT, WIZ_MSTAT, WIZ_OSTAT, WIZ_VNUM
=== END MANUAL ===