Problem with attribute of a spawn actor Help Please

Hi guys,i have a problem with a spawn actor.
This actor has an attribute called hits points,i want change (increase) the hit points attribute in each level of the game to make it harder.
But if the actor is spawn how can i change this attribute for each scene?
If i change it in the main actor it will be the same for every scene.
thank in advance ;D

Comments

  • ericzingelerericzingeler Member Posts: 334
    edited January 2013
    Create a table with the hit points for each scene listed in a row. Create an integer game attribute that defines the scene number (ex: 1, 2, 3).

    In your prototype actor you're to spawn:

    Add hit points tablecellvalue(table,[scene number],1)

    Make sure to set the scene number for each scene.

    You can also avoid a table by using math. Example:

    Add hit points [scene number] X base hit points
  • Ronaldinho10Ronaldinho10 Member Posts: 26
    edited January 2013
    @eezing
    thank ,for the answer could you explain better these methods?
    or at least the easiest;D

    thank again;D
Sign In or Register to comment.