• 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!

Lua [TFS 0.4] Gate of expertise stay open

elnelson

Lunaria World Dev
Joined
Jun 20, 2009
Messages
580
Solutions
2
Reaction score
58
Location
México
Hello, otlanders. I am experiencing a problema, when someone open a gate of expertise it stays open, doesnt close after player pass tru.

i am using TFS 0.4 Rev 3884.

Hope you guys help me find the bug :)
 
you have to add the door id to the movements.xml using closingdoor.lua as the script
an example
XML:
<movevent type="StepOut" itemid="1228" event="script" value="closingdoor.lua"/>
just copy/paste that and add it and change the itemid="1228" to the exp door id
 
you have to add the door id to the movements.xml using closingdoor.lua as the script
an example
XML:
<movevent type="StepOut" itemid="1228" event="script" value="closingdoor.lua"/>
just copy/paste that and add it and change the itemid="1228" to the exp door id
Doesnt work ;/...
movements.lua has
<movevent type="StepOut" itemid="6266" event="script" value="closingdoor.lua"/>
<movevent type="StepIn" itemid="6266" event="script" value="walkback.lua"/>
door still open after pass...
 
Last edited:
Doesnt work ;/...
movements.lua has
<movevent type="StepOut" itemid="6266" event="script" value="closingdoor.lua"/>
<movevent type="StepIn" itemid="6266" event="script" value="walkback.lua"/>
door still open after pass...

A tip is to check how another door is coded, so check if you have the itemid in these 3 files: Search · 6266 · GitHub
 
Solution
Back
Top