Jump to content

[Solved ] Someone who can help me.


Yue
 Share

Go to solution Solved by Yue,

Recommended Posts

I had a similar problem but I don't know if its the same as yours.

In my script I was assigning the screen width to a script variable ( Script.ScreenWidth = context:GetWidth() ).

In the Start function I would try and retrieve the screen width with Self.ScreenWidth and it would say it was nil value.

Even thou I had given it a value outside of the "start" function. 

I didn't investigate it too much as I have been playing with the LW beta. Maybe this is also the cause of your problem. 

 

Link to comment
Share on other sites

  • Solution

I have solved this problem, this is very painful because when this happens, motivation is lost and the project can go to hell.

The solution if this happens to you is the following.  

Remove the entity that has the script hooked up that shows the error, then put it back in and assign the script again and the problem is solved.

Mars.jpg.89ab63a64eebc1f5ada0ab82b66a1f8c.jpg

 

 

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.

 Share

×
×
  • Create New...