Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-08-2012, 01:41 AM
iluvseq
Sarnak
 
Join Date: Aug 2009
Location: Somewhere
Posts: 53
Default Set heading of new character when entering start zone

I've modified the starting zone for characters using the World:SoFStartZoneID rule. New characters start in this zone properly. They appear at the zone 'safe point' so I modified the zone entry and set the safe_x, safe_y and safe_z appropriately.

However, new characters enter the world facing the wrong way!

How can I modify their heading?
Reply With Quote
  #2  
Old 03-09-2012, 02:10 PM
iluvseq
Sarnak
 
Join Date: Aug 2009
Location: Somewhere
Posts: 53
Default

I figured out a way to do it, but not sure if it's the best/most elegant solution.

I implemented a player.pl quest for the zone, with an EVENT_ENTERZONE routine that checks if they are entering the zone at the safe spot, and if so, calls quest::movepc() to change their heading.

One thing I noticed, the heading parameter in movepc() has to be double the heading returned by #loc
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:37 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3