How to force war mode of a player to someone?

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
User avatar
zandor70
Master Poster
Posts: 93
Joined: Fri Feb 10, 2006 10:06 am

How to force war mode of a player to someone?

Post by zandor70 »

I want to forse war mode of a player and setup opponent.... Someone know how I ca do?
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Post by Austin »

Code: Select all

SetScriptController(defender);

attacker.SetWarMode(1);

ApplyRawDamage(attacker, 0);
User avatar
zandor70
Master Poster
Posts: 93
Joined: Fri Feb 10, 2006 10:06 am

Post by zandor70 »

Thx.

I am writing a library of function the the one in npc.em and some hook that intercept packet movement, war mode, wear item, ecc...
Post Reply