
I'm need a code in API to query to player and then setting a variable
That's not a lot to go on, but I'd almost guarantee that Jakob's chatSetAttr script will do what you need. You'll put the query in the api call, like:
!setattr --sel --Strength|?{value|10}
Scott C. said:
That's not a lot to go on, but I'd almost guarantee that Jakob's chatSetAttr script will do what you need. You'll put the query in the api call, like:
!setattr --sel --Strength|?{value|10}
Thanks for reply.
It's good, but i need to change a variable in API script
Unfortunately, you can't send queries to players from the API. You can send a menu of api command buttons for a user to select options. That's about all I can suggest without an idea of what you're trying to accomplish.
Scott C. said:
Unfortunately, you can't send queries to players from the API. You can send a menu of api command buttons for a user to select options. That's about all I can suggest without an idea of what you're trying to accomplish.
Ok that's good, but i can't make it..
I'm using MapTeleporter script and i want player can choose triggering the tp when they drop their token on it.