Jump to content

How to prevent ..


Go to solution Solved by Alienhead,

Recommended Posts

Posted

Entering the slightest typo or a syntax error in lua code causes me a total system shutdown. I have to power boot the computer to get it back up ( everytime ) .

Also some commands entered correctly cause a power boot on my computer as well.. 

Example::  When this code reaches the self.camera:Move() command  my system hangs and I have to power restart to get it back up. 

 

    ---->> Setup Camera
    self.camera = CreateCamera(self.entity:GetWorld())
    self.camera:SetPosition(self.myPosition)
    self.camera:SetRotation(self.myRotation)
    self.camera:Move(0,0,-1)
 

 

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...