Please Help Support by Donating

  • 2020-09-30, 18:17:41
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search


Looking for VTMR Modding Tutorials? Check out the Modding Tutorials section of

Author Topic: CreateThing method  (Read 2694 times)


  • Member
  • *
  • Karma: 2
  • Offline Offline
  • Posts: 29
CreateThing method
« on: 2015-01-15, 06:55:50 »

Wondering a few things about the CreateThing method in

Code: [Select]
CreateThing(String templateName, float origin[], float orient[]);
I suppose "origin" and "orient" is the X,Y,Z and Pitch, Yaw, Roll values for objects in Things and templates in Embrace?

I have yet to find the method in the SP scripts so I think I need an explanation of how to send the creation numbers properly to the float[] origin and float[] orient arrays.

Code: [Select]
CodexWorld.CreateThing("Zombu", xxx, xxx);



  • Horses Dick
  • Member
  • *****
  • Karma: 22
  • Offline Offline
  • Posts: 2389
Re: CreateThing method
« Reply #1 on: 2015-01-15, 09:15:40 »

We don't use that command. We use SpawnThing or SpawnThingNear from the CodexThing class... hence why you can't find CreateThing.

When you search "SpawnThing" in the project scripts, you'll see much more examples of its use.
« Last Edit: 2015-01-15, 09:21:49 by Javokis »
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." -Signo

Page created in 0.139 seconds with 31 queries.