Quest Duel

06/30/2013 03:06 Kzee#1
Hello.

Can some one teach me how to start a duel by quest?
If you can, please show me and example!
What is the necessary function?

Thanks in advance :)
Regards, Kzee
06/30/2013 03:19 Spartan#117#2
There isn't a function for this.

You can achieve it by sending the /pvp [VID] command by quest, then selecting the possible opponent and sending the same command.

Example:
Code:
local me = pc.select(find_pc_by_name("opponent"))
command("pvp "..me)
local partner = pc.select(me)
command("pvp "..partner)
06/30/2013 04:08 Kzee#3
Quote:
Originally Posted by Spartan#117 View Post
There isn't a function for this.

You can achieve it by sending the /pvp [VID] command by quest, then selecting the possible opponent and sending the same command.

Example:
Code:
local me = pc.select(find_pc_by_name("opponent"))
command("pvp "..me)
local partner = pc.select(me)
command("pvp "..partner)
worked!
Thank you!