Difference between revisions of "Manual:DIL Manual/set fighting()"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(XML import)
 
Line 1: Line 1:
 +
<span id="bpsetfight"></span>
 +
set_fighting( u : unitptr, t : unitptr )
 +
    u : the unit on which attacks.
 +
    t : the unit being attacked.
  
 +
    This is used to set two characters fighting. If the attacker is
 +
    fighting already, the target will simply be inserted into the
 +
    opponent list and perhaps killed a little later.
  
 +
---~---~---~---~---~---~---~---~---
 
<span id="bpsetfight"></span>
 
<span id="bpsetfight"></span>
 
  set_fighting( u : unitptr, t : unitptr )
 
  set_fighting( u : unitptr, t : unitptr )

Latest revision as of 22:37, 4 December 2025

set_fighting( u : unitptr, t : unitptr )
   u : the unit on which attacks.
   t : the unit being attacked.
   This is used to set two characters fighting. If the attacker is
   fighting already, the target will simply be inserted into the
   opponent list and perhaps killed a little later.
---~---~---~---~---~---~---~---~---

set_fighting( u : unitptr, t : unitptr )
   u : the unit on which attacks.
   t : the unit being attacked.
   This is used to set two characters fighting. If the attacker is
   fighting already, the target will simply be inserted into the
   opponent list and perhaps killed a little later.
---~---~---~---~---~---~---~---~---