ID:2034071
 
mob
Login()
world << "[src] has joined the game!"


Problem description: I just want to change the message when a player logins to the above. Do I have to add ..() in the login override so that if functions as normal? Before or after the message or doesn't it matter? Thanks

Essentially the default action of Login() is to place the player on the map if they're not already on it.

If you have multiple places in your code where Login() is defined you'll need to call ..() in each one or the first one that gets encountered without it will prevent any further down the code from executing.

In general, it's always best to put ..() in there, especially if you intend to use Login() in multiple places in the code.

The place you put it depends on if you want the stuff inside to execute before or after the next one in the chain.