Jump to content

Photo

Enemy Teamwork?


  • Please log in to reply
6 replies to this topic

#1 OmegaX

OmegaX

    Leader of Omega GamingHunters101

  • Members
  • Real Name:Matthew
  • Location:Rochester, NY

Posted 13 April 2019 - 01:37 PM

This is a burning question that I’ve had for a short time now. I really don’t think this is possible in ZC but I ask for an answer anyway. Can you script enemies to work together to defeat the player? I don’t know how else I can word this, keeping track of one enemy state/current situation/behavior and another enemy acting accordingly based on that? I don’t know. I don’t think this is possible but I want to know anyway.

#2 Russ

Russ

    Caelan, the Encouraging

  • Administrators
  • Location:Washington

Posted 13 April 2019 - 01:59 PM

It's possible, yes, but it'd be a whole lot of work. The easiest way would probably be to fake it by having enemies fire weapons at Link at the same time, or occasionally try to move at him from opposite sides to pin him. It'd require rescripting most enemies though, and outside a few cases, it'd probably be more trouble than it's worth, considering that, with a few exceptions, ZC enemies work better as moving obstacles, and having every enemy on screen specifically target you can get overwhelming really quickly.

#3 OmegaX

OmegaX

    Leader of Omega GamingHunters101

  • Members
  • Real Name:Matthew
  • Location:Rochester, NY

Posted 13 April 2019 - 02:01 PM

Wow! It is possible! Alright... don’t worry though. I’ve got my ways. It’ll give me a few boss ideas later down the line.

Edited by MegaX, 13 April 2019 - 02:03 PM.


#4 Alucard648

Alucard648

    Wizard

  • Members
  • Location:castle Dracula

Posted 04 May 2019 - 02:11 AM

For instance, teleporting Wizzrobes avoid picking facing direction that was picked by another Wizzrobe and choose random if all 4 picks are gone. 



#5 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 24 May 2019 - 05:16 AM

My latest 2.55 script (Segmented Worm enemy) actually has each segment as a separate enemy. The segments communicate inter-script, which is a key factor in... well, working together.



#6 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 24 May 2019 - 08:38 AM

My latest 2.55 script (Segmented Worm enemy) actually has each segment as a separate enemy. The segments communicate inter-script, which is a key factor in... well, working together.

 

You ave two links concatenated together, resulting in that pointing to your header.

 

https://www.purezc.n...=scripts&id=336



#7 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 24 May 2019 - 09:42 AM

You ave two links concatenated together, resulting in that pointing to your header.

 

https://www.purezc.n...=scripts&id=336

Fixed it. Damn clipboard on my laptop has been screwing up repeatedly recently.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users