Re: your mail

From: Michael Buselli (mhbusell@midway.uchicago.edu)
Date: 05/26/95


On Fri, 26 May 1995, Chris Fuller wrote:

> Concerning configurable prompts... to see who your tank is, you
> would probably be able to do this via the player structures.
> 
> There should be a pointer to the mob you are fighting, and then
> you see who the mob is fighting, and that player should be your
> tank.

struct char_data *tank;

if (GET_FIGHTING(ch))
  tank = GET_FIGHTING(GET_FIGHTING(ch));
else
  tank = NULL;

Or something like that. :) 
--Michael Buselli <mhbusell@midway.uchicago.edu>



This archive was generated by hypermail 2b30 : 12/07/00 PST