[CF-Devel] [Fwd: Re: DM command: freeze]
Mark Wedel
mwedel at sonic.net
Tue Jun 25 23:57:39 CDT 2002
Forwarding to list as it may be of some general interest.
Bob Tanner wrote:
> Need a DM command called freeze.
>
> freeze [character]
>
> Type freeze as DM with no character name will free everyone and everything in
> its place. Both players and monsters.
>
> freeze Basic would freeze just Basic.
>
> This is a quick and any way to stop mad pkers so you can -get- to the prison to
> summon them.
>
>
The easiest way to freeze everyone would be to just set the objects speed_left
to some large negative value (which is basically how paralyze works). Easiest
would be to freeze for some number of ticks by default (eg, op->speed_left =
-ABS(op->speed) * 100) for 100 ticks for example.
What may be easier to do is make a wiz command like 'sendto <mapname> <x> <y>
<playername>'. Now mapname ... would be a pain to type, but easy enough to
bind keys - could have F1 bound to the right thing to put them in short term
jail, F2 medium term jail, etc..
More information about the crossfire
mailing list