Skip to content

Manual:DIL Manual stop fighting()

iamnove edited this page Jan 18, 2023 · 51 revisions


Function:  stop_fighting( ch: unitptr, vict : unitptr ) ;
  ch
         unitptr - person you are stoping the fighting for
  vict
         unitptr - person you are removing from the fighting or null for everyone
This function can be used to cancel combat in a room or with two people.
The following example copied to a player will stop any fight the player is in.
Example:

---~---~---~---~---~---~---~---~---
dilbegin stop_combat();
code
{
stop_fighting(self,null);
quit;
}
dilend
---~---~---~---~---~---~---~---~---


---~---~---~---~---~---~---~---~---
Clone this wiki locally