Function - Checking faction name ?
Im starting to write quests (Thx smogo for all your tutorials btw), I was wondering if a function exist or a way to do PERL quest that will check value of player faction.
Example : "Faction is ally, NPC will speak with him" ? |
There's the $faction variable, it returns a number corresponding to the current faction level. See the sticky on Perl Quest guide at the top.
|
Ah yes, thanks Monrezz like always.
Look like i have skipped the identifier part. |
It is mainly used for if statements, so you can check the player has a high enough faction before the quest continues:
Code:
sub EVENT_SAY |
All times are GMT -4. The time now is 02:27 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.