• Welcome to Freedom Reborn Archive.
 

Police attack

Started by Indigo, June 15, 2008, 04:54:50 PM

Previous topic - Next topic

Indigo

Is it possible to script to make the police spawn at certain parts of the map and attack you IF you attack civilians and destroy building? 

catwhowalksbyhimself

Yes, it is possible.  In fact, it would probably be fairly simple.

stumpy

It's not hard to have cops spawn at the closest preconfigured (or a random) location when a civilian is injured or a building is destroyed and have them hunt a character. But it is something of a nonstandard trick to get it to happen only when a hero causes the damage. Thanks to Epimethee, it's doable with the mlogreader module, though.  ^_^ Open the module and search for the notes on regMLOGDamage.