Splash  
About WOCNews, Help, etc.Build AreasContributor CreditsUseful Links

Login

    BlobbieScript

    Features
    Expressions
    Operators
    Variables
    Resolutions
    Functions
    Triggers
    Examples

    Print Manual
%getPcPointer()
  
Aliases%getPcPointer( ), %getPcPtr( )
Parametersmixed @entity

    Returns a PC mobile pointer for the given entity parameter or null on
failure. If @entity is set to a PC mobile pointer then it is checked for
validity and returned if valid. Alternatively if @entity contains a
keyword (players can't have more than one) then a pointer to the first PC
mobile matching the keyword is returned.

Unlike %getNpcPointer() and %getMobPointer() this function is safe to use
with a keyword since the match is completely unambiguous. Additionally
unlike the other pointer functions this function does an exact match on
the keyword and will not return a partial match.

Examples:

@pc = %getPcPointer( %getSavedVar( @self, "master" ) )


The Worlds of Carnage MUD is a non-profit, fantasy oriented, text-based game that is played over telnet. We are devoted to providing a social medium in which people can have fun while immersing themselves in a game that reads like a book. You can connect by clicking here or if that fails then here. This site is maintained and hosted by Robert Cummings, A.K.A Blobule and is powered by InterJinn, a PHP based multi-tier application framework connected to a MySQL backend and served via an Apache web server. The Worlds of Carnage are often recognized via the following aliases: Carnage; WoC; WoC MUD; Carnage MUD; CarnageMUD; WoCMUD. All submissions become the property of Robert Cummings where the submitter holds copyright. If you do not want to give ownership, then do not submit.