Advertisement
Fwaky

Untitled

Dec 27th, 2015
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.39 KB | None | 0 0
  1. function onStepIn(creature, item, position, fromPosition)
  2.     local player = creature:getPlayer()
  3.     if not player then
  4.         return true
  5.     end
  6.  
  7.     if(player:getStorageValue(Storage.TheInquisition.Questline) >= 24) then
  8.         return true
  9.     end
  10.  
  11.     player:teleportTo(fromPosition)
  12.     player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "The door seems to be sealed against unwanted intruders.")
  13.     return true
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement