Jump to content

Kelair

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Kelair

  1. I'm quite new to Leadwerks so forgive me if this was always the way, but I believe this same thing happens when you make a prefab from an entity that had a script attached with an entity object loaded in a entity variable. Adding said Prefab back into the scene will have the script loaded but the entity variable is blank. This is with the latest Beta.
  2. Awesome thanks Jorn! Btw your videos are so helpful, thank you so much for making them. -Shawn
  3. Hello all, Leadwerks newb here trying to animate the crawler model. I've followed along with Jorn's tutorial here ( ), but can't seem to get it work the same way. The crawler when I push run looks like he is frozen in attack mode. After looking at the SimpleAnimation.lua script I think the settings are hard coded in, this is off a fresh install from steam. For parameters I'm using speed of 1 and sequence of 0 which should be idle according to the model editor. Can someone verify this default script to make sure it is right? Thanks! SimpleAnimation.lua Script.Speed=1.0--float Script.Sequence=0--int function Script:Draw() self.entity:SetAnimationFrame(8,1,4) --local t = Time:GetCurrent() --self.entity:SetAnimationFrame(t/100.0*self.Speed,1,self.Sequence) end
×
×
  • Create New...