We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Setting Properties on an Object

Home Forums General Questions Setting Properties on an Object

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #47206
    grimmy
    Customer

    Lets say I want a bunch of enemies with individual health. How do I go about setting properties on them (during runtime).

    I know this is a basic question but I can only find how to read initial properties of an object using the ‘Get custom Props’ puzzle and not actually how to go about setting/changing them during runtime.

    Anyone know the best practice for how to instance classes/objects and manipulate each each instance individually?

    Cheers

    #47212

    Hi,

    you can create an object for each entity by using a Dictionary
    https://www.soft8soft.com/docs/manual/en/puzzles/Dictionaries.html
    (this is basically JS objects wrapped in puzzles)

    Chief 3D Verger | LinkedIn | Twitter

    #47213
    grimmy
    Customer

    Perfect! Thank You!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.