Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if tfm.get.room.xmlMapInfo then
- for object in tfm.get.room.xmlMapInfo.xml:gmatch('<P P="0,0" [^/]+ T="81" [^/]+ />') do -- <P P="0,0" Y="98" T="81" X="20" />
- x=tonumber(object:match('X="(%d+)"'))
- y=tonumber(object:match('Y="(%d+)"'))
- tfm.exec.addShamanObject(27, x, y)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment