add actors value show by display text

DisimobDisimob Member, PRO Posts: 32

Hi,

I have 2 actors that display random numbers. I need to add those numbers and show result in another actor.

Thanks
Simone

Best Answer

  • tatiangtatiang Posts: 11,949
    Accepted Answer

    In each of the two generative actors, change attribute game.random1 to random(1,10) and change attribute game.random2 to random(1,10). In the display actor, Display Text game.random1 + game.random2.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Answers

Sign In or Register to comment.