Jump to content

Identify an ACTOR


Stalker

Recommended Posts

hi guys!

I have a really big problem:

I'm working on a mission for my mod....

1st objective: Avoid Detection

2nd objective: Investiagte the convoi

3rd objctive: place demo charge at the SAM (not added before the game begins)

I started a Loop that all members of the PlayersPlatoon start with an mp5 and magazine.

When they locate the SAM, a message pops up and says that they can get a kit with a demo charge at the insertion point...........

now I have a problem:

how can I identify the actor of the player controlled platoon who is within 3 metres of Insertion point, to give him the kit with the demo charge????

---> Proximity Platoon........

Response:.............................

I believe that I had to loop over the PlayersPlatoon.... but how and with which responses...??? :unsure::unsure:<_<<_<

(jack??? :rocky: )

:( STALKER

Edited by Stalker
Link to comment
Share on other sites

well I dont use all those loops in my scripts. but one way to do this.

Group: <Default>

Comment:

Trigger Event:

The simulation is starting.

Responses:

Set ghost to (The player-controlled platoon).

Group: <Default>

Comment:

Trigger Event:

A member of ghost is within 3 meter(s) of insertion.

Responses:

Assign "demolitions-1.kit" to (The actor nearest insertion)

this is, ProximityPlatoon, followed by the SetActorKit response. Should work ok and will give the kit to the actor that is closest to the zone. Someone else may have other ways to do this so I would suggest just trying out what people say and see which works best for you. Hope this helps.

Link to comment
Share on other sites

well I dont use all those loops in my scripts. but one way to do this.

Group: <Default>

Comment:

Trigger Event:

The simulation is starting.

Responses:

Set ghost to (The player-controlled platoon).

Group: <Default>

Comment:

Trigger Event:

A member of ghost is within 3 meter(s) of insertion.

Responses:

Assign "demolitions-1.kit" to (The actor nearest insertion)

this is, ProximityPlatoon, followed by the SetActorKit response. Should work ok and will give the kit to the actor that is closest to the zone. Someone else may have other ways to do this so I would suggest just trying out what people say and see which works best for you. Hope this helps.

In response where do you find "Assign " in list?

good idea saw one a long time ago in farm mission

thank for the idea Stalker I'll give you the credit

Link to comment
Share on other sites

In response where do you find "Assign " in list?

good idea saw one a long time ago in farm mission

thank for the idea Stalker I'll give you the credit

??? you will give me credit for finding a response :wacko::blink::huh::lol::lol:

Thanks BIG TIME Jack57, owe you one :wall: Igor dummie ME

Link to comment
Share on other sites

just set up a trigger event ( I don't know which you need)

and the response SET ACTOR KIT and type in the whole name of the kit u want to assign to a specific actor ( with .kit)

here what I scripted? not right some were

:wall:

Trigger Event:

The simulation is starting.

Responses:

Set Ghost to (The player-controlled platoon).

Group: <Default>

Comment:

Trigger Event:

A member of PlayeryControldPlatoon is within 1 meter(s) of Zone Demo.

Responses:

Assign "demolitions-01" to (The actor nearest Zone Demo).

Link to comment
Share on other sites

Trigger Event:

A member of PlayeryControldPlatoon is within 1 meter(s) of Zone Demo.

Responses:

Assign "demolitions-01" to (The actor nearest Zone Demo).

That last line should read

Assign "demolitions-01.kit" to (The actor nearest Zone Demo).

you need to add the .kit at the end or it will not work.

Link to comment
Share on other sites

:wall: long tough battle but thaKs to all you guy's, big helP

Trigger Event:

A member of Ghost is within 1 meter(s) of Zone Demo.

Responses:

Assign "demolitions-01.kit" to (The actor nearest Zone Demo).

worked demo and ghost was worng

AGAIN ty :wub:

Edited by AO3_Chucky
Link to comment
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...