lolligoo

  • Content Count

    9
  • Joined

  • Last visited

Community Reputation

42 Excellent

About lolligoo

  • Rank
    Junior Member
...

Recent Profile Visitors

175 profile views
  1. [00:12:07]: [string "scripts/brains/crittersbrain.lua"]:115: bad argument #1 to 'max' (number expected, got nil) LUA ERROR stack traceback: =[C]:-1 in (field) max (C) <-1--1> scripts/brains/crittersbrain.lua:115 in (upvalue) _avoidtargetfn (Lua) <87-120> self = bt = Priority - RUNNING <RUNNING> (execute 1, eval in 0.12)>0.12 >Parallel - RUNNING <RUNNING> ()>0.22 > >Has Owner - SUCCESS <SUCCESS> ()>0.00 > >Priority - RUNNING <RUNNING> (execute 3, eval in 1.00)>0.22 > > >Priority - READY <FAILED> ()>0.00 > > > >RunAway - READY <FAILED> ()>0.00 > > > >Parallel - READY <FAILED> ()>0.00 > > > > >Is Near Combat - READY <FAILED> ()>0.00 > > > > >FaceEntity - READY <READY> ()>0.00 > > >Parallel - FAILED <FAILED> ()>0.00 > > > >Playful - FAILED <FAILED> ()>0.00 > > > >Sequence - READY <READY> ()>0.00 > > > > >Wait - READY <READY> ()>0.00 > > > > >Priority - READY <READY> ()>0.00 > > > > > >Leash - READY <READY> ()>0.00 > > > > > >ActionNode - READY <READY> ()>0.00 > > > > > >StandStill - READY <READY> ()>0.00 > > >Follow - RUNNING <RUNNING> (130654 - wendy APPROACH, (6.51) )>0.22 > > >FailIfRunning - READY <READY> ()>0.00 [**truncated**] inst = 130722 - critter_kitten (valid:true) behaviourqueue = table: 0x23a09c90 stopped = false events = table: 0x2924f2a0 target = 130005 - wendy (valid:true) owner = 130654 - wendy (valid:true) owner_combat = table: 0x26c0dc00 target_combat = table: 0xe7af2e0 distsq = 35.004420747049 t = 607.56669835374 scripts/brains/crittersbrain.lua:124 in (local) fn (Lua) <123-130> ent = 130005 - wendy (valid:true) scripts/simutil.lua:37 in (global) FindEntity (Lua) <31-42> inst = 130722 - critter_kitten (valid:true) radius = 5 fn = function - scripts/brains/crittersbrain.lua:123 musttags = table: 0xf414a00 canttags = table: 0x243da9f0 mustoneoftags = nil x = -229.74549865723 y = 0 z = -424.11895751953 ents = table: 0x20890ad0 i = 1 v = 130005 - wendy (valid:true) scripts/behaviours/runaway.lua:81 in (method) Visit (Lua) <79-124> self = safe_dist = 8 huntertags = table: 0xf414a00 avoid_angle = 28.052452996488 hunterfn = function - scripts/brains/crittersbrain.lua:123 hunternotags = table: 0x243da9f0 lastresult = FAILED parent = table: 0x2c2e5ef0 avoid_time = 604.20003151149 inst = 130722 - critter_kitten (valid:true) see_dist = 5 status = READY name = RunAway nextupdatetime = 604.98336487263 scripts/behaviourtree.lua:578 in (method) Visit (Lua) <554-610> self = lasttime = 607.56669835374 name = Priority parent = table: 0x205aee40 status = READY period = 1 children = table: 0xf8e8150 lastresult = FAILED time = 607.56669835374 do_eval = true oldidx = nil old_event = nil found = false idx = 1 child = RUNAWAY 8.000000 from: nil should_test_anyway = nil scripts/behaviourtree.lua:578 in (method) Visit (Lua) <554-610> self = idx = 3 lasttime = 607.56669835374 name = Priority parent = table: 0x29a8b4e0 status = RUNNING period = 1 children = table: 0x2665d3e0 lastresult = RUNNING time = 607.56669835374 do_eval = true oldidx = 3 old_event = nil found = false idx = 1 child = table: 0x2c2e5ef0 should_test_anyway = nil scripts/behaviourtree.lua:643 in (method) Visit (Lua) <633-664> self = name = Parallel status = RUNNING parent = table: 0x190de710 children = table: 0x29a8b460 lastresult = RUNNING done = true any_done = true idx = 2 child = table: 0x205aee40 scripts/behaviourtree.lua:601 in (method) Visit (Lua) <554-610> self = idx = 1 lasttime = 607.43336501345 name = Priority status = RUNNING period = 0.25 children = table: 0x273dce50 lastresult = RUNNING time
  2. video please see this local _x,_y,_z = ConsoleCommandPlayer().Transform:GetWorldPosition(); local size, step, x, z; size = 800; step = 40; x,z = -size,-size; local function tp() if x <= size + step then if z <= size + step then z = z + step else x = x + step; z = -size; end else return true end end; local function dotp() ConsoleCommandPlayer().Physics:Teleport(x,0,z) if not tp() then TheWorld:DoTaskInTime( 0.033, dotp ) else ConsoleCommandPlayer().Physics:Teleport(_x,_y,_z) end end dotp()