Change Actor
T0bsom
Member Posts: 9
Hi!
How to I change actor? Like if a player find a sword. Player change to player with sword?
How to I change actor? Like if a player find a sword. Player change to player with sword?
Comments
spawn actor player w/ sword at player.position.x and player.position.y
destroy actor player
You can use a boolean for each item, such as self.hasSword (true or false) and then base your rules off of that.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User