View Single Post
  #2  
Old 11-07-2014, 11:37 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,072
Default

Your brackets are way off and wrong in two places.

Your use of proximities is a bit off.

Should look something like this:

Code:
sub EVENT_SPAWN {
	plugin::SetProx(20, 20);
}

sub EVENT_ENTER {
	if($faction >= 3){
		quest::movepc(6, 49.76, -14.47, 3.75, 194.0);
	}
}
Also your use of $faction I'm assuming is intentional and you know that the data that gets returned from $faction is the value the client has with the NPC's faction.

This plugin assumes you have the latest plugins repo, that plugin I used has been around for ages:

http://wiki.eqemulator.org/p?Perl_Pl...-for-debugging

Hopefully that helps.
Reply With Quote