Page 1 of 1

Communication between 2+ bots

Posted: Fri Dec 23, 2011 8:38 am
by alkirah
Hi,

I am trying something with party.

I want everyone to move to wp X (say 7 for exemple), then party1 (main character) will go kill something, I want others to wait till they receive an "ok" from the party1 character before going to wp8.

Is there any communication possible between multiple bots in a party?

This flag will need to be resetted often.

Re: Communication between 2+ bots

Posted: Fri Dec 23, 2011 8:54 am
by alkirah
I think I found a way using the LootThreshold thing :)

just in case someone else was looking for a way

if anyone else have an idea/better solution, go 4 it

Re: Communication between 2+ bots

Posted: Fri Dec 23, 2011 8:56 am
by lisa
If you really wanted to you could set up event monitoring for party chat and just get the leader to say "OK" in party chat.

Re: Communication between 2+ bots

Posted: Fri Dec 23, 2011 9:08 am
by alkirah
sometimes clients gets stuck somewhere and takes several seconds (up to 30) to unstuck.

so the "ok" thing in party chat might just not work if not @waypoint7 scanning for it.

on the other hand, lootthreshold will be resetted only after party reforming and resetted to the start value so I guess it's better :)

plus it's a lot simpler

while RoMScript("GetLootThreshold()") == 4 do
yrest(100);
end

the master just sets loot to another value when done doing his things, then the other one can resume their thing :)