Jump to content

What Is Wrong With My Code Please - Check Zone and Activate


Recommended Posts

Posted

Salute,

I would very much appreciate someone guiding me as to what is wrong with the simple below code please.

It is for a tank dogfight mission I am currently building.

The test spawn is for a tank I can spawn into to drive into the check zone. When the zone fires it should activate some ground units.

I don't think it is even getting that far as the message does not display.

I am testing this on my own local game server.

The zone has been set True for allied vehicles (the spawn is for a Russian tank)

I am sure its a simple mistake I have made.

image.thumb.png.cde3dc37c9f1eb632fc795702e422fd5.png

Posted

Is the Checkzone being 'pulsed'? By default, Checkzones are not looking for anything until they get pulsed. Your Activate MCU is not the same as pulsing the Checkzone. Most of the time I pulse them with a Mission Begin, meaning that they'll start looking for the entities right away.

 

Checkzones.thumb.png.809613790bda557f0a6907b88f01ffff.png

Pulsing and activation are not the same thing. This chart hopefully explains the difference.

  • Upvote 1
Posted

I updated my logic as you suggested and "Bingo" it has worked as required.

 

many thanks once again

 

  • Upvote 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...