https://pastebin.com/GAGVjEyM
here is the current code....
i am still pretty new to entitys...
what i want to do:
Line 104:
is executed when the entity touches someone(big thx to celena luna)
then i want execute "Phase2"
Line248:
Phase2 gets executed and the entity(Mafubaphase2 from@createmafubabeamentityphase2) is spawned.
line255 & 131:
here is the error.....
the entity mafubabeam2 wont spawn on the victims location like it should....... of the first touch(from "mafuba"--> mafuba_touch)
the "AIM" of 255 is meant to lead the entity mafubaphase2 to where i am looking.....but it goes where the victim looks.....
and i get such a êrror.....as soon as the first entity touches i get error waves of:
L 07/17/2018 - 17:16:08: [FAKEMETA] Invalid entity
and after like 10 seconds that is gone......
---------------------------what should happen:
entity mafuba flys towards a enemy....then phase 2 is executed......mafuba entity dissapears...victim gets stunned.....and after some seconds entity mafubaphase2 flys where i(the caster) is looking......
----------------------what is next to do:
-stun player(victim) as soon as the first entity mafuba hits him.
-force the victims camera on the second entity(mafubaphase2)
-add a worldtouch combined with searchbysphere....so it checks if it hits the ground and if there is a ricecooker entity near by.
-spawn a little green fire inside ricecooker.
-check if ricecooker is open or closed (need to be closed to imprison someone)
-and force camera of victim around the ricecooker for so long untill ricecooker gets destroyed or someone opens the ricecooker. then the victim gets set free and can fight again.
imprisoned means that the victim is unable to move.....dissapears from map.....frozen
i know there is still a lot to do......i will keep you updated here;) hoping that some nice people, of which we sure have a lot here

, help me with some tips...snippets....and help a newbie with this amazing plugin