View Single Post
  #1  
Old 08-21-2017, 04:57 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,731
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
Bow design decision.

This time I'm not looking for script help, just a question in regards to design. On G2K1 they use a custom bow NPC. Anyways to check and see if the arrows hits an NPC you have to check if the arrow passes by the NPC's coordinates. To me that seems like an odd design choice. Why not invoke a trigger when the projectile is onwall (I assuming NPCs with setshape return blocking when I say this). Or why make the bow so complicated at all? Isn't there shoot() and onActionProjectile()?
__________________
Save Classic!
Reply With Quote