Jump to content
Ghost Recon.net Forums

New igor scripting question


Recommended Posts

Well, im still learning igor, but i thought id run this idea by you wonderful moders for input. I am having fun making missions , but before i go ahead and start going crazy making missions that may cause lag, i thought it would be smart to hide most of the hostiles until a player triggers them to appear.(fairly of course) Only dilema i hit with this ,is if i am creatinng a stealth type mission then id have to RE-HIDE my characters. Is there a way that i can trigger my hostiles to become hidden again only if ALL members of the PLAYER_PLATOON are in a certain zone? :D

Link to post
Share on other sites
Is there a way that i can trigger my hostiles to become hidden again only if ALL members of the PLAYER_PLATOON are in a certain zone? :D

Sure :rocky:

Trigger:

A member of the PlayerPlatoon is within 10 metres of Zone X

Responses:

Block Preserve

Continue If the number of members of the PlayerPlatton within 10 metres of Zone X is equal to the current size of the PlayerPlatoon

Block Remove

Make all members of Company Enemy invincible (see below)

Hide Company Enemy fro the game world.

If this mission is for co-op play be wary of the shadow bug, ie; players may be able to see hidden actors as shadows (sometimes fully textured). If they are shot or accidently killed in this state the server will crash. It's a good idea to always make actors invincible before hiding them.

Cheers, Jack :)

Link to post
Share on other sites
Hey Mr. Jack,

is there a reason why the Block Remove isn't at the bottom of the block?

Yep - it's a habit I have gotten into to. I put it in straight after I do the query - that way you aren't going to forget :thumbsup:

The block doesn't actually get removed until it has been executed :rocky:

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...