RepSystem questions

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
CrazyMan
Expert Poster
Posts: 71
Joined: Wed Apr 05, 2006 8:08 am

RepSystem questions

Post by CrazyMan »

How the character to become the murderer?
For it that answers what script or core?
How to cease to be to the person the murderer?
Whether how to learn the murderer the player or it is criminal?
How i can contol reputation system?
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post by CWO »

POL Object Class Reference under Character

Code: Select all

Members:
murderer	boolean	1 = player flagged murderer (red)	r/w
criminal	integer	1 = player is criminal (gray)	r/o

Methods:
setcriminal(int level)	true/error	sets the character criminal. level multiplies the CriminalFlagInterval as defined in repsys.cfg. level=0 clears criminal timer.
setmurderer(bool)	true/error	flags the character as a murderer (red)
So from that...
1. who.murderer := 1;
2. dont understand the second question.
3. who.murderer := 0;
4. if (who.murderer) This person is a murderer. - if (who.criminal) This person is a criminal.
5. Using what I posted above in the code box.
CrazyMan
Expert Poster
Posts: 71
Joined: Wed Apr 05, 2006 8:08 am

Post by CrazyMan »

Tnks.
CrazyMan
Expert Poster
Posts: 71
Joined: Wed Apr 05, 2006 8:08 am

Post by CrazyMan »

How work reportables ?
Post Reply