Stalker Posted July 12, 2003 Share Posted July 12, 2003 (edited) 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...??? (jack??? ) STALKER Edited July 12, 2003 by Stalker Quote Link to comment Share on other sites More sharing options...
|rsi| monkey Posted July 12, 2003 Share Posted July 12, 2003 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. Quote Link to comment Share on other sites More sharing options...
AO3_Chucky Posted July 12, 2003 Share Posted July 12, 2003 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 Quote Link to comment Share on other sites More sharing options...
Jack57 Posted July 12, 2003 Share Posted July 12, 2003 Response: SetActorKit If you click the drop down list for Responses and then press the 's' key it will rise to the top - real quick way to find it Quote Link to comment Share on other sites More sharing options...
Stalker Posted July 13, 2003 Author Share Posted July 13, 2003 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 Quote Link to comment Share on other sites More sharing options...
AO3_Chucky Posted July 13, 2003 Share Posted July 13, 2003 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 Thanks BIG TIME Jack57, owe you one Igor dummie ME Quote Link to comment Share on other sites More sharing options...
AO3_Chucky Posted July 13, 2003 Share Posted July 13, 2003 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 no for the idea of demo kit in mission Quote Link to comment Share on other sites More sharing options...
Stalker Posted July 13, 2003 Author Share Posted July 13, 2003 hehe, do that Quote Link to comment Share on other sites More sharing options...
AO3_Chucky Posted July 13, 2003 Share Posted July 13, 2003 hehe, do that Did you get it to work, pick up demo kit! mine didn't I didn't expect it to the first time . I looked in my save demo disk for the old one I saw , but could't find scripting rough. Quote Link to comment Share on other sites More sharing options...
Stalker Posted July 13, 2003 Author Share Posted July 13, 2003 I am able to I just wanted to know how I can identify the actor who is at the insertion? thx, monkey Quote Link to comment Share on other sites More sharing options...
AO3_Chucky Posted July 13, 2003 Share Posted July 13, 2003 I am able to I just wanted to know how I can identify the actor who is at the insertion? thx, monkey Can you e-mail me your summary to do that? to change from one kit to demo in mission? would appricate it Quote Link to comment Share on other sites More sharing options...
Stalker Posted July 13, 2003 Author Share Posted July 13, 2003 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) Quote Link to comment Share on other sites More sharing options...
AO3_Chucky Posted July 13, 2003 Share Posted July 13, 2003 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 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). Quote Link to comment Share on other sites More sharing options...
AO3_Chucky Posted July 13, 2003 Share Posted July 13, 2003 Response: SetActorKit If you click the drop down list for Responses and then press the 's' key it will rise to the top - real quick way to find it sorry, forgot to thank you for that quickie, will need in effect when I blow up house an such Quote Link to comment Share on other sites More sharing options...
|rsi| monkey Posted July 13, 2003 Share Posted July 13, 2003 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. Quote Link to comment Share on other sites More sharing options...
AO3_Chucky Posted July 13, 2003 Share Posted July 13, 2003 (edited) 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 Edited July 13, 2003 by AO3_Chucky Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.