This trigger fires when a player enters the game. It can fire for the room in which they would normally enter, any mobiles in the room, or any objects in their possession.
@n, @player - The player entering the game.
If a script catched the player entering the game it can return 1 to prevent other scripts from also catching the event. This is useful in the event that the player is moved from the original entry location. While rooms and mobiles can catch entry to the game they should never return a true value to indicate such since the primary purpose of this trigger is for affect objects to handle the game entry semantics. That said, mobs or rooms can still catch it (they get first shot before objects) and perform a zero second wait after which they can check if the player is still in the room and then possibly do something. |