Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: Dynamically create 3d actors?  (Read 2608 times)

0 Members and 1 Guest are viewing this topic.

piere

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 301
  • Sorry for any bad english in my posts. Game on !
    • View Profile
Dynamically create 3d actors?
« on: August 09, 2011, 06:08:44 AM »

Is it possible to create 3d actors, like how you can dynamically create a window with the CreateWindow() command? I want to be able to spawn a random actor on command if possible.
Logged

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: Dynamically create 3d actors?
« Reply #1 on: August 09, 2011, 10:03:51 AM »

yes. You can use either

var spawn = Scene.LoadActor3D(filename);

or
if you want those actors to stay with you Game.LoadActor3D(filename);

Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet
 

Page created in 0.044 seconds with 24 queries.