Static property COCMarker autoActor property playerRef autoEvent OnEffectStart (actor aktarget, actor akcaster)playerRef.moveto(COCMarker)COCMarkerHeader = Game.FindClosestReferenceOfTypeFromRef(COCMarker, akcaster, 2048)EndEvent
Error: type mismatch on parameter 1 (did you forget a cast?)
On line 10, which is the moveto line.
I've been stuck on this for a long time. Finally found the function to detect references without needing 500000 properties..
Anyway what I'm doing wrong here?