logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
PlayerStart Locations?

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows development
View previous topic :: View next topic  
Author Message
Baaleos



Joined: 02 Sep 2007
Posts: 830

PostPosted: Mon Jun 21, 2010 17:31    Post subject: PlayerStart Locations? Reply with quote

Using nwnx, would it be possible to hook onto the player enter event, and redirect them to a different location, rather than letting them materialize at the playerstart location.

It would be nifty if the startlocation can be overrided.

I know its possible to nwnscript to port them to another location a second after their materialization, but thats essentially 2 loading screens just to get the player to the correct start location.
Back to top
View user's profile Send private message
Terra_777



Joined: 27 Jun 2008
Posts: 216
Location: Sweden

PostPosted: Mon Jun 21, 2010 18:17    Post subject: Reply with quote

Save the location to the database on client leave and when a PC enters the entry area they're sent back to the last saved location. Success?
_________________
I dun have any signature, I'm happy anyway.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Baaleos



Joined: 02 Sep 2007
Posts: 830

PostPosted: Mon Jun 21, 2010 18:56    Post subject: Reply with quote

That's pretty much the same as scripting it to teleport them after they have materialized.

Was hoping nwnx would make it possible to hook onto the player join, and manually set the playerstart. I know all about persistent player positions, I'm just wondering about hooking onto the player join code, in the hopes of bypassing playerstart.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows development All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group