Jump to content

silvertip83

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by silvertip83

  1. Hi all, I'm new to Leadwerks and have a couple questions about writing up some scripts. In all the past projects I've worked on, there have been spawn prefabs already available like in UE3 and CRYENGINE3 however, I don't see any prefabs in this engine for spawning in... well anything. I would like to write a spawning script and assign it to an invisible cube that would be saved as a prefab for future use. Considering this is in lua I'm sure this can be easily done but I would like some tips from experienced devs who have been using LW3.1 Specifically, how would you suggest starting the script to actually make an object spawn in? if possible does anyone have an example they could share? I've combed through the script files within the engine but I could not find a spawn script. Would I use the "Script.draw()" function to dictate something needs to spawn?
×
×
  • Create New...