-
Content Count
18 -
Joined
-
Last visited
-
Medals
Community Reputation
10 GoodAbout heldenhammer
-
Rank
Private First Class
-
Switch off Light on streetlamp
heldenhammer replied to heldenhammer's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks killzone_kid it is working fine. Hint is showing following line. [["HitBulb",""],["",""],[1,1]] For a better understanding, could you shortly explain to me what is happening on coding side? My final solution looks like this, lamp1 = [0,0,0] nearestObject 156353; lamp1 setHitIndex [0,1]; lamp1 setHitIndex [1,1]; Now I have an enemy occupied, dark village. This will be a nice surprise for the attacking forces :-) -
Switch off Light on streetlamp
heldenhammer replied to heldenhammer's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Not working :-( [["HitBulb",""],["",""],[0,0]] Any other ideas? -
Switch off Light on streetlamp
heldenhammer replied to heldenhammer's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi thanks for your support but it is getting ridiculous. This strange streetlamp is still burning even by trying both proposed solutions. Could it be that the expression Lamps_base_F is not the right identifier for that lamp object on map Celle2. Is there a ay to get the object name of map objects by only knowing the object id? -
Switch off Light on streetlamp
heldenhammer replied to heldenhammer's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Sorry for the delayed response but real life kept me really busy. It was not before today that I had some quite minutes to continue working on the mission. [["HitBulb",""],["",""],[0,0]] This is the result I received after adding your command to the init line of my game logic. Does it helh in troube fixing? Can't deal with the command Hitbulb, even tried to search it in BI wiki but found no result. Any advice and explanation, please :-/ -
Switch off Light on streetlamp
heldenhammer replied to heldenhammer's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi killzone_kid. Indeed, for me unfortunately it does not help at all. What I did, for testing purpose, I placed a game logic next to the lamp objet, placed also a player next to it, then I put in init line the following command with no result, the lihgt is still burning. lamp = nearestObject [player, "Lamps_base_F"]; lamp setHit ["light_1_hitpoint", 0.97]; -
Hi folks, hope you are able to provide some editing support to a newbie. Just need to switch off the light on a streetlamp, therefore I placed a game logic next to the object and tried the following but desperately failed. lamp1= [0,0,0] nearestObject 156352; lamp1 setHit ["light_1_hitpoint", 0.97]; also tried (object 156352) switchLight "OFF"; And yes, object 156352 is the correct id for the streetlamp, tried it with getneaerestobject setdamage 1 instruction and *magic* the lamp was destroyed Thanks for advice
-
Jepp, my fault, and in addition to that I had choosen german as language but found the addons in the engglish spoken part of that website. Thanks for your help I guess this thread can be closed right now?
-
Hi Maczer, thanks for your answer, unfortunately click on your links is bringing me only to the start page of ofp.gamepark.cz where I can choose the wished language but not to any download link. Searched on the page, found no british forces but an usmc lav 25 mm also unfortunaltely with a bug.No one able to tell me where I can find operationale LAV? Thanks
-
hi like my title suggested I am looking for a good LAV Pack and uk forces pack. I know that there was a kind of addon for those stuff when I played OFP nearly 12 years ago but today I am not able to find working download links. Any help for me? Thanks heldenhammer
-
Newbie need some editing advice with my first Tonal campaign
heldenhammer replied to heldenhammer's topic in OFP : MISSION EDITING & SCRIPTING
Short answer because it is nearly 01.30 in the morning, at least in Germany. @ rageQUite thanks for your fast help, sounds great, will continue to work on the starting mission of my campaign experimenting with the script proposals provided by you. Hope you do not mind if i turn to you in case of further questions related to the targetrange. heldenhammer -
Newbie need some editing advice with my first Tonal campaign
heldenhammer replied to heldenhammer's topic in OFP : MISSION EDITING & SCRIPTING
Hi folks, once again me. My shooting range is now working like planned. Anyhow, I am not absolutely happy with the result, to make it really perfect I would highly appreciate to limit the available time for the player to conduct the shooting exercise with his squad. And to make things even more complicated, I would love to rate his time effectiveness e.g. more than 30 minutes => mission failed (0 points) more than 20 but less 30 minutes => something like ok, accomplished (100 points for the statistic) less than 20 minutes => something like (200 points for the static points at the end of the mission). Any proposals how to edit this? Thanks in advance heldenhammer -
Newbie need some editing advice with my first Tonal campaign
heldenhammer replied to heldenhammer's topic in OFP : MISSION EDITING & SCRIPTING
Jihhea, it is working, thanks a lot. ;) Cheers heldenhammer -
Newbie need some editing advice with my first Tonal campaign
heldenhammer replied to heldenhammer's topic in OFP : MISSION EDITING & SCRIPTING
Sounds to easy to be true. Will check it out later during that evening. Anyhow, great thank you for your quick reply. -
Newbie need some editing advice with my first Tonal campaign
heldenhammer replied to heldenhammer's topic in OFP : MISSION EDITING & SCRIPTING
So thanks to BAS invisible targets th soldiers of my squad open directly fire on them, combined with those normal targets I could achieve that after some hits, the targets are falling down like foressen. Anyhow, if I do not order my squad to cease fire they continue engaging those targets until they run out of ammo. Very unpleasened situation. Is there a chance that those invisible targets can be destroyed. Best way of course synchronuzed with the falling down of those visible targets. Thanks in advance, every advice hihly appreciated. Cheers heldenhammer -
Newbie need some editing advice with my first Tonal campaign
heldenhammer replied to heldenhammer's topic in OFP : MISSION EDITING & SCRIPTING
Hi Ferenczi, even better news. Will check this out. Anyhow, to the moderators of that thread, is it feasible to not to close this thread even if it seems that this particular issue is solved. Anyhow, I guess I will need some space to ask questions and advices from the community during the progress of my campaign editing. Cheers heldenhammer