How to use 'return to hometown' button like Pet but without it?
#1

Its possible to add a button to main menu (menù that open while pressing T), that return character in start point of map? 

I'd like to handle that but with a condition: only if is not in PVP mode.

Any hints?



thanks

#2

Server side you should be able to locate the current index ZONE of ch. You can just move it to the sub zone 0. Yes is possible. 

You should be able to retreive the current char zone as:

m_pChar->m_pArea->m_zone->m_index 



about the UI you can change it client side and add a button, then send a request to the server 



Forum Jump:


Users browsing this thread: 1 Guest(s)