Jump to content
Eddieman

Scripting Error

Recommended Posts

I was working on a script and I got this error

Script Error on LAtoFirestation Script ~ Script on line 589

I get this when going to the firestation

When I go to the the script line 589 says this

if (math::dist(pos. x,pos. y cp1. getposition().x, cp1. getposition().y)>math::dist(pos. x, pos. y, cp2.getposition().x, cp2 getposition().y))

Could someone please explain this to me. I am confused. It only happens when I want the firetrucks to go to the firestation but won't go back.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...