Hey everyone, every couple of weekends some friends and I get together at my house and have a LAN. Our favourite LAN game is ArmA II: OA. We set up grossly one sided missions against waves and waves of AI soldiers & vehicles
I've searched all over for a simple script that would allow the host, or whoever of a LAN game to open his map, click and spawn a cluster of explosions on the map click location. A friend of mine who has scripting experience sent me a script, that I can callup via an addaction, but it never works. The friend who sent it to me is back in Afghanistan now and probably doesn't have computer access because I can't get a hold of him. Anyway, I was hoping someone on here can have a look at the thing and tell me what I need to change to have this work or point me to a similar working script that I can call up in MP!
Thanks!
Code:_coordinate = [_this select 0, _this select 1]; _radius=150; _Bombs=random 20; _jackup=100; _Nill = "G_40mm_HE" createvehicle [(_coordinate select 0) , (_coordinate select 1) , 100+random 500]; for "_i" from 0 to (10+_Bombs) do { _Nill = "G_40mm_HE" createvehicle [(_coordinate select 0) - random _radius , (_coordinate select 1) - random _radius, _jackup+random 500]; _Nill = "G_40mm_HE" createvehicle [(_coordinate select 0) + random _radius , (_coordinate select 1) + random _radius, 100+random 500]; _Nill = "G_40mm_HE" createvehicle [(_coordinate select 0) , (_coordinate select 1) , 100+random 500]; _jackup=_jackup+20; }; hint "Grenade Vollet Incoming!"; onMapSingleClick ""; exit;
HOME 
Reply With Quote
