Aller au contenu

Photo

Area: On Enter or On Client Enter...?


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
Jeddia

Jeddia
  • Members
  • 17 messages
Was suprised to notice that in the Area Properties window, there's an "On Enter" event and an "On Client Enter" event.  Which one should be used to fire a script upon a PC entering the area?  "On Client Enter" in NWN1 was just for the Module events.

I guess the real question is, what's the difference between the two?

#2
Lugaid of the Red Stripes

Lugaid of the Red Stripes
  • Members
  • 955 messages
OnClientEnter fires once the PC is fully loaded in the area. On Enter fires whenever any creature enters the area.

Maybe a better way to think of it is OnEnter is when the PC enters the area, but OnClientEnter is when the player enters the area. I like to use the on-enter to re-dress the area, so some of the lag occurs while the player is still looking at a load screen. For anything that requires manipulation of the PC, like starting a conversation, you need to use on-client-enter.

Modifié par Lugaid of the Red Stripes, 30 mars 2013 - 02:31 .