[crossfire] How do I make an object give damage to the player (this is a carryable object).

Brendan Lally brenlally at gmail.com
Wed Jan 4 11:49:32 CST 2006


On 1/4/06, Miguel Ghobangieno <mikeeusaa at yahoo.com> wrote:
> I guess I'll have to make a script then.
> But I don't know how.
> Could ... someone... make a quick python script that
> looks at the speed of the object and the dam of the
> object and the attacktype and damages the player
> thusly ever (speed) for (dam) of (damtype) ?

One thing you might be able to do, is create an object that decays
after a short time (food = 1 or 2) and which has a treasure list
containing itself, and a bullet (or something appropriate) that can do
damage to the player on creation.

This would continously damage the player, creating a new version each time.

It is a bit of a hack however.



More information about the crossfire mailing list