follow me mod

Your forum for all discussions around Modding.
User avatar
ghosted
Posts: 390
Joined: Mon Oct 20, 2014 5:06 pm

follow me mod

Post by ghosted »

I seem to be having problems with this mod. as I cant do anything with it. it wont let me adjust distance or anything and the error in log says this

Code: Select all

  C:/Users/PC/Documents/My Games/FarmingSimulator2019/mods/FS19_FollowMe/FollowMe.lua:224: attempt to compare number with nil
Error: Running LUA method 'update'. 
I have even tried with just a few mods too. and even disabled seasons. so I am a bit lost now I have version of FS19_FollowMe is <version>1.3.0.6</version> which I believe is the latest.

line 224 of the error says

Code: Select all

  In case player is so fast, that after stopping a regular AI, and in less than 200ms he manages to start FollowMe, then ensure the traffic collision is deleted.
LINE 224     if spec.aiTrafficCollisionRemoveDelay > 0 then
      if spec.aiTrafficCollision ~= nil then
        if entityExists(spec.aiTrafficCollision) then
          delete(spec.aiTrafficCollision)
        end
      end
      spec.aiTrafficCollisionRemoveDelay = 0
    end  
I only have 3 vehicles on follow me
TobiHH
Posts: 1370
Joined: Wed Sep 06, 2017 2:31 pm

Re: follow me mod

Post by TobiHH »

User avatar
ghosted
Posts: 390
Joined: Mon Oct 20, 2014 5:06 pm

Re: follow me mod

Post by ghosted »

TobiHH wrote: Wed Oct 23, 2019 12:33 pm viewtopic.php?f=963&t=153755#p1194965
Thanks glad its not just me then
Post Reply