O'Reilly logo

Torque 3D Game Development Cookbook by David Wyand

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 1. TorqueScript: The Only Script You Need to Know

In this chapter we will cover the following topics:

  • Accessing delimited fields within a string
  • Iterating on words in a string list
  • Retrieving components of a variable using accessors
  • Iterating on objects in a SimSet or SimGroup collection
  • Getting a random object from a SimSet or SimGroup collection
  • Finding an object in a SimSet or SimGroup collection using its internal name
  • Executing a method on a SimSet or SimGroup collection
  • Creating a new SimObject instance
  • Creating a new internal name only SimObject instance
  • Creating a new Datablock object
  • Creating a new singleton
  • Extending a SimObject instance using the class property
  • Using a variable to access methods or properties of a SimObject instance
  • Using ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required