Spawning actors

mrcameron999mrcameron999 Member Posts: 182
edited March 2014 in Working with GS (Mac)

How can i spawn an actor that has a self attribute but i want it to be different from what the prototype has it set to. Is this possible.

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Yes, it's possible. For example, if you want an actor to have an incremental value in a self attribute, you would increase a game attribute by one just before spawning an actor and then in the spawned actor you would change self.attributeName to game.attributeName.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    Explain a bit more. Do you have a series of numbers in mind or just a progressive numbering?

  • mrcameron999mrcameron999 Member Posts: 182
    edited March 2014

    Tating answers thanks tho

Sign In or Register to comment.