Pepeco 4 #1 Posted January 2, 2020 Base: The Forgotten Server 1.3, Versão: 8.6. Qual é a sua pergunta? Queria saber para que serve a função tile:queryAdd(), como utilizar e as flags dele, como mostra na Wiki. Spoiler Description: N/A Parameters: thing - No description flags - (optional) Returns: N/A Example: Share this post Link to post Share on other sites
1 cjaker 3 #2 Posted January 6, 2020 Syntax tile:queryAdd(thing, flags) thing -> objeto (item, criatura...) flags -> condições (FLAG_IGNOREBLOCKITEM => ignora itens que bloqueiam o caminho) Funcionalidade: verificar se o 'thing' pode ser adicionado em tal piso 'tile' com tais condições 'flags' 3 Baah, gpedro and Pepeco reacted to this Share this post Link to post Share on other sites
0 gpedro 47 #3 Posted January 4, 2020 veja se estes exemplos lhe ajuda: https://github.com/otland/forgottenserver/blob/bcb86eac0655c58b8dc9a35c652f8953a0edd033/data/movements/scripts/closingdoor.lua#L8 https://github.com/otland/forgottenserver/blob/6f845d5181b6becb09be1604f5ca9b2703a6aafe/data/actions/scripts/other/doors.lua#L35 aparentemente serve para adicionar algum flag ao tile 1 Pepeco reacted to this Share this post Link to post Share on other sites
Base: The Forgotten Server 1.3, Versão: 8.6.
Qual é a sua pergunta?
Queria saber para que serve a função tile:queryAdd(), como utilizar e as flags dele, como mostra na Wiki.
Share this post
Link to post
Share on other sites