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!
create a file called smoke.lua and place inside your scripts folder
Lua:
local smokeEvent = MoveEvent()
function smokeEvent.onStepIn(creature, item, pos, fromPosition)
if not creature:isMonster() then
return false
end
pos:sendMagicEffect(CONST_ME_POFF)
creature:remove()
return true
end
smokeEvent:id(1505)
smokeEvent:register()
this script is invalid...
why? becouse right now all smokes will remove monsters...
better way is using actionid and set aid in script and smoke, in this way only specific(defined by player) smoke will remove monsters
he didn't really specify if wanted all or some of them, so you can't say it's invalid, but yes if you want it that way just register it by actionid or check for positions instead.
he didn't really specify if wanted all or some of them, so you can't say it's invalid, but yes if you want it that way just register it by actionid or check for positions instead.
Hello, I need a very simple script for TFS 1.3 that makes monsters disappear when they pass through (smoke ID "1505") Screen for attention:
otland.net
should be placed in here: data/scripts/movements
and if you want it to trigger on specific tiles you need to register it via actionid instead and add that id to the map aswell, or you can modify the script to check for positions, up to you.