Replicate Actor Not Replicating Behavior
I've got an enemy that I want replicated. When the Player Character collides with one of these enemies, I would like the Player Character to be destroyed. I have the behavior set up in the enemy actor (and tested to insure it works), but when I tell the enemy to replicate itself, the replicants don't destroy the Player Character when they collide. The original enemy actor destroys the PC just fine, just not the enemy actor it replicates. Any tips?
Best Answers
-
boredaholic Posts: 47
Do you have it as "when collide. Spawn enemy actor"? I know the coding words aren't correct but same concept. The spawn actor should work, not sure what you mean by duplicate. -
tatiang Posts: 11,949
The replicate behavior is ONLY a graphic behavior... it does not copy any rules or behaviors from the original actor. So what you get is a visual copy that doesn't have the ability to collide or do _anything_ else.
@boredaholic is correct... you'd need to use a Spawn Actor behavior instead of replicate.New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User