Spawning actor gives wrong size actor

BasGoodboyBasGoodboy Member, PRO Posts: 310
Hey all,

So.. if i put an actor with a picture on my stage, I have to adjust the size to make the size i want,

but I don't put the actor on stage myself, when a button is clicked this actor gets spawned by the spawn actor rule,

altho, I can't set the right size of this actor here and the actor spawns way too small.. how can i change this?

Greetings.

Comments

  • -Timo--Timo- Member Posts: 2,313
    put 2 rules in the actor and change the size

    change self.size.width to *number*
    change self.size.height to *number*

    if you are using a windows you cant use decimals...
    hope this helped
    good luck!

    -Timo-
  • BasGoodboyBasGoodboy Member, PRO Posts: 310
    That sounds easy, but I can only find the rule 'change size', and then can only change by scale number. How can i set the self size?
  • BasGoodboyBasGoodboy Member, PRO Posts: 310
    It worked I guess, I setted x 100 so it gets its original size..

    altho, I setted the right positions, when i press the button i see the actor coming, but it dissapears after 0,1 second. How is that possible?
  • BasGoodboyBasGoodboy Member, PRO Posts: 310
    It works now, I deleted the actor completely and remade him, I think something went buggy with a boolean. Thanks a lot!
Sign In or Register to comment.