Redrawing a player's frame

Progress reports and musings from the developers on the current gaming tools.

Moderators: dorpond, trevor, Azhrei

User avatar
aliasmask
RPTools Team
Posts: 9024
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: Redrawing a player's frame

Post by aliasmask »

Nertht wrote:Cause in that case, players can click it repeately and make a lot of mess. I thought, that direct running is possible with broadcast execLink.
I wrote a couple of functions that I call oneClick that I use just for that reason. Basically, the token that creates the link creates a unique number. When the player clicks it with the token selected then it writes that unique number to that token and only allows it to click it once.

Nertht
Kobold
Posts: 23
Joined: Sun Jul 27, 2014 3:46 am

Re: Redrawing a player's frame

Post by Nertht »

Thank you both guys, your service is incredible.
What I exactly need is Wolph´s function. Thx a lot man, again.
Just... Look on Wiki: broadcast(). There is your function described as bot_execAllPlayer. And for another users, it could be confusing like for me was.
But great thanks anyway.

User avatar
wolph42
Winter Wolph
Posts: 9999
Joined: Fri Mar 20, 2009 5:40 am
Location: Netherlands
Contact:

Re: Redrawing a player's frame

Post by wolph42 »

Nertht wrote:Thank you both guys, your service is incredible.
What I exactly need is Wolph´s function. Thx a lot man, again.
Just... Look on Wiki: broadcast(). There is your function described as bot_execAllPlayer. And for another users, it could be confusing like for me was.
But great thanks anyway.
indeed, although its both, its mentioned as 'players' and 'player', a simple typo. Corrected it.

Merudo
Giant
Posts: 228
Joined: Wed Jun 05, 2019 7:06 am

Re: Redrawing a player's frame

Post by Merudo »

aliasmask wrote:
Wed Aug 20, 2014 8:00 am
Nertht wrote:

Code: Select all

[h: broadcast(execLink(macroLinkText("FRAME@Lib:Token", "none", "", "Player2Token")),"Player2")]
This wouldn't work because there is no output. If you create your link with macroLink you can then post it with broadcast and not use execLink. A link will show up in chat and execute on the other client, but the client who posted the link. You would have to click it yourself or use my code in an earlier post.
I don't understand why it is not working. The output of broadcast is the execLink, no?

User avatar
aliasmask
RPTools Team
Posts: 9024
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: Redrawing a player's frame

Post by aliasmask »

Depends on what you mean by not working. The players don't see the output link or the link when clicked doesn't work.

Post Reply

Return to “Developer Notes”