Should I be Spawning menu buttons?
sambot13
Member Posts: 4
I am having trouble figuring out how to create menus that are not always visible.
I have an actor that and I want a couple of buttons to appear around when it is touched. The problem is if I use Spawn Actor to create the buttons they will only have Prototype rules and cannot access the attributes of the scene. So for example, I want one of the buttons to draw a line between the selected actor and another actor in the scene. I can only do this with actors with instance rules, as far as I know, but I don't want the buttons to always be in the scene, only when the actor is selected.
Is there a general best practice for this type of feature?
Thanks!
I have an actor that and I want a couple of buttons to appear around when it is touched. The problem is if I use Spawn Actor to create the buttons they will only have Prototype rules and cannot access the attributes of the scene. So for example, I want one of the buttons to draw a line between the selected actor and another actor in the scene. I can only do this with actors with instance rules, as far as I know, but I don't want the buttons to always be in the scene, only when the actor is selected.
Is there a general best practice for this type of feature?
Thanks!
Comments
I always create my scenes with some extra space at the top or side for buttons and stuff.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User