Changing actor instance that has yet to spawn
Cee3pee0
Member, PRO Posts: 194
Is there anyway to change an actor's instance that has yet to spawn on screen. Let's say you pushed a button and it made an actor spawn and you wanted to that actor have unique behaviors for that scene, is there a way to achieve this without having to create a unique copy of that actor?
Comments
Have a controller actor that's invisible.
On it have a variable that states what level it's on. Let's call this variable "Level"
Then when you press the button, on the actor have:
IF 'Level' =1
Fly around
If 'Level'=2
Run at player
etc etc
It may mean that your actor will become very rule heavy very quickly.
Another solution may be to spawn an actor based on the level.
So, on your button you have the rules:
If level = 1 then spawn bee actor
If level =2 then spawn ant actor
etc etc
Hope that makes sense,
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io