%viewMobileHealth()

Aliases%viewMobileHealth( )
Parametersmobile @viewer, mobile @target [, string @flag1 [, string @flag2 [, ...]]]]

    This function will render the health condition of @target that @viewer
would see when looking at the mobile @target. The following flags can
optionally be specified either as one of the @flag parameters or as an
array whose values are the flag names or as a combination of both
techniques.

fireTriggers

It is likely that for most use cases that you won't need to set any flags
since the defaults have been arranged for the most common purposes.

Example:

@busybody = %getNpcPtr( busybody )
@janitor = %getNpcPtr( janitor )

@view = %viewMobileHealth( @janitor, @busybody )
%echoTo( @view, @self )

See Also: View Functions Flags