I'm making a Star Trek game and I'm having trouble making my enemies move and shoot at me at the same time. And the Romulan keeps shooting after he died. Could you give me some help? I'll probably upload it after i'm finished troubleshooting it and after everything is finished.
Offline
I might be able to help with the zombie Romulan:
[blocks] <when green flag clicked>
<forever if> <(<{ Romulan Alive? }><=> 1 )>
<play sound[ gunshot]
<change{ Health }by( X)
<if> <( <{ Romulan Health }> <=> 0 )>
<set{ Romulan Alive }to( 0 )
<end>
<end> [/blocks]
Offline
MaxtheWeirdo wrote:
I might be able to help with the zombie Romulan:
[blocks] <when green flag clicked>
<forever if> <(<{ Romulan Alive? }><=> 1 )>
<play sound[ gunshot]
<change{ Health }by( X)
<if> <( <{ Romulan Health }> <=> 0 )>
<set{ Romulan Alive }to( 0 )
<end>
<end> [/blocks]
That might help, just I don't want Enterprise to lose armor as soon as he enters the ROmulan system.
Thanks anyway.
Offline
I think I'll just live with what I have.
Thank you, MaxtheWeirdo for trying to help, and to all those who may have also wanted to help too.
The enemies will just sit there and fire away. I'll just copy my code from the Kli or Ori to the Rom (which I have been using as a testing bad guy).
Stay tuned for the upcoming game! Star Trek.
Offline