Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
is there any way to make this function create the target?
local function sendCancelTarget(player)
local msg = NetworkMessage()
msg:addByte(0xA3)
msg:addU32(0x00)
msg:sendToPlayer(player)
msg:delete()
end
I thought I would change the 0x00 to end 1 or 2 to see if it worked...
I can do remove the red square through the script, but I wanted the player, if he wants, to remove it manually by pressing on another target or by pressing ESC.
#edit
I managed to get it to work :), but now the problem is that I can't remove the red square when the player stops attacking :(
local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_HITAREA)
function...
I was tested in several ways, but none of them worked, or I applied the dot and didn't remove or didn't apply the dot, but I've been testing it in several different ways and I ended up getting it, I just hope I don't have any bugs hehehe :3
if it's someone who wants to do the same thing, I'll...
can fix it for me, because the way I tried it didn't work, pls.
local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_FIREATTACK)
combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE)
local condition =...
tfs 1.3
I have 2 spells, one that applies a fire DOT and another that increases damage if Player has the DOT.
the DOT is for 5 turns, but when you use the spell more than once on the target the spell reaches more than 15/20dots depending on when I use it.
there is some usual form of 5 shifts
I...
I did it that way here, I don't know if it's the most viable way :/. Can you tell me if using storage nowadays to keep track of things is still viable or in this situation I should use something else? if you can, look at the script and talk about where you could improve, what would you do.
thanks
sorry for the inconvenience, it's just that I don't speak English well and i ended up getting confused, but it worked the way Pox did.
thanks also Fresco, it helped me in another script kkkk
thank you all
I think I must have explained it wrong, when I use a spell and walk, as it is an event, the spell accompanied, I wanted it to cast in the same place I cast the spell first
I was redoing an old script for version 1.3, but if I log off the char, it crashes the server.
function getPosDirs(p, dir)
return dir == 1 and {x=p.x-1, y=p.y, z=p.z} or dir == 2 and {x=p.x-1, y=p.y+1, z=p.z} or dir == 3 and {x=p.x, y=p.y+1, z=p.z} or dir == 4 and {x=p.x+1, y=p.y+1, z=p.z} or...
how to do skip a line using tfs from revscript and is there any way to record the item's description in the item's own script?
\n does not work;
i try "boneBreaker:description("blabla")" but it doesn't exist that way.