Click a players name to Summon / Kill them

Hi there, I was wondering how i would go about clicking a players name to pull or kill them?

Thanks :)

Replies (2)

Last message on 27 Dec 2017

Size43 (Administrator) on 27 Dec 2017, 15:37:50
You could probably use p2p messages. Like this:

1. A clicks on B
2. A sends p2p to B: p2p_pull
3. B receives p2p
4. B moves to A's position by setting (x, y) to A's (x, y)
PenguinPalaceGame (Topicstarter) on 27 Dec 2017, 15:47:21
Heya, got it working. Thanks :)