Add a choose actor for block

thunderstrike

  • *
  • Posts: 51
Add choose actor for block, this will save a lots of time to link actor to another actor  and much simpler to create action button than needed to create long winded attribute. Thanks!

Jon

  • *
  • Posts: 17526
Choose Actor does appear, for scene behaviors and scene events.

thunderstrike

  • *
  • Posts: 51
I’m aware there’re choose actor under scene behaviors and it really handy and I like it. However if it also available under actors, it can  speed up the work( cut down 2- 3 step. Imagine you create 100 attribute it will be 200-300 step extra) and also everything will be in tidy manner. You can group actor directly to another actor, example tank turret connect with body, health bar, create movable button that control another actor ect  without the hassle of setting up attribute. The more attribute create the more messy and confusing it become and sometime developer may even forgot which attribute  assigned for which actor. Thanks!

Epic428

  • Posts: 1118
The reason it is only available where it currently is, is because choose actor is referring to an *instance* of an actor which is only available when the actor is physically placed in a scene. Hence, scene behaviors/events being the only place for them. If it was available on an actor behavior it would mess things up when it's used on an actors that isn't in a particular scene or isn't created until some action occurs in the scene.

That is why attributes are required and why it's necessary to use a for each actor of type block on occasion.
James Moore - Official Support & Documentation.
We cannot and will not respond to PM's asking questions. Please make a new thread in the forums if you have any questions, Thank you.
For better support and faster response times, please post your logs regarding any Stencyl related issues. Debug > Logs > Generate Logs

thunderstrike

  • *
  • Posts: 51
I see, no wonder it only available on scene... Thought can auto create attribute behind the block without manually doing it. Haha sorry for my ignorant, Im looking things at a non programmer view... Thanks!