Jump to content

Photo

Is there a way to make permanent/piercing weapons?


  • Please log in to reply
2 replies to this topic

#1 grayswandir

grayswandir

    semi-genius

  • Members

Posted 10 June 2013 - 08:32 PM

By which I mean a weapon that doesn't go away after it hits a single enemy, but waits for a timeout. I'm getting by by keeping track of weapons and remaking them every frame if they go away, but is there a way to make a weapon permanent directly?



#2 MoscowModder

MoscowModder

    Sometimes lurking. Rarely posting.

  • Members
  • Location:Wisconsin

Posted 10 June 2013 - 08:35 PM

Set weap->DeadState = WDS_ALIVE every frame. Easy as that!


  • grayswandir likes this

#3 grayswandir

grayswandir

    semi-genius

  • Members

Posted 10 June 2013 - 09:22 PM

I feel like I should've noticed this...

 

Thanks!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users