Change this function with this new. Set escapeOffsetY (100 should be good) NOT TESTED, try it :) function EscapeAggro() --Write("EscapeAggro"); local escapeOffsetY=0; if goToStartRoom then local tempTimer = Time(); local elapsedTime = tempTimer - offsetTimer; if elapsedTime > updatePositionTime then...
So y=250 is the furthest it will go into the pool? Right now it moves from the back barricate to the front barricate positions. It should somehow check the smallest and the biggest values. Also you mean to change these two "250" here with something I want? if newY > 250 then Player:SetPosition(cent...
-- Move to acid pool function MoveToAcidPool() --Write("MoveToAcidPool"); local tempTimer = Time(); local elapsedTime = tempTimer - offsetTimer; if elapsedTime < updatePositionTime then return false; end local d = moveSpeed * updatePositionTime / 1000; local ourCurrentPos = Player:GetPosition(); lo...
So, Where will I paste in code? Where will I write the pin in this code ? and How can I use select it? Thank you in advance :D I use Nucular code inside my script extension c# Project. I don't think is possible to use this in LUA script. My doubt is where initialize DialogList, bcs in login screen ...