When a player enters the mutator zone, I want to activate the object's TeleportTo function through an AgentEntersEvent.


I’m looking for a way to resolve this issue.

try

spawn:
    MutateZone.moveto(etc.etc)

1 Like

Hello Popplet,

A bit of extra info on why you’re getting that error:

MoveTo is expected to happen over time, as opposed to happening instantly. That’s why it “suspends” (as in suspends execution while it waits)

So “spawning” (as in spawning a new execution thread) should allow it to execute in it’s own timeframe.

Check this community video for more info on this.

1 Like

thanks. Solved the problem exactly

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.