Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Initialize{
- attack1; //I just wrote attack1 here. I didn't copy and paste the task itself, but I wrote the task name here. This "calls" the task.
- }
- task attack1{
- //The stuff you want attack1 to do goes here. Shooting bullets, playing sounds, whatever. This isn't inside @MainLoop, @Initialize, or @Anything.
- }
- @MainLoop{
- ObjEnemy_SetIntersectionCircleToShot(objEnemy, GetEnemyX, GetEnemyY, 23);
- ObjEnemy_SetIntersectionCircleToPlayer(objEnemy, GetEnemyX, GetEnemyY, 17);
- yield;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement