Ouchtime
-
Content Count
6 -
Joined
-
Last visited
-
Medals
Posts posted by Ouchtime
-
-
Is your squad players or npc?
This sound alot like my arty problems. If you spawn the arty after someone have logged on in MP, or the mission have started in SP, the arty module don't sync with that gun and player.
Oh, and did you use the right module?? It's the normal module, not virtual, you want if you want to get the arty target map.
You don't actually need to sync ANYTHING if you want the arty target map. It sort itself somehow when you have arty and players on the map IF the arty exist before the said player log on/start the mission.
-
I've found some more info. When I played last night with my squad we found that if you log on AFTER the artillery piece have been created you can target it. If it's created after you log on you can't target it.
This seems like something to do with how the arty module sync with players and arty pieces. Not errors in scripts.
-
Jdog, that didn't work. I suspect that the artillery module isn't a "unit".
-
The main problem is really that I can target artillery using mortars I place with the editor but not when using mortars placed with script.
Oh, and the reason you sync the artillery with the module is to sync the crew with the module. The actual piece don't need syncing if I understand it right
-
I'm trying to create a M252 mortar with a script.
_art = createvehicle ["M252",_artpos,[],0,"NONE"];
This spawns the mortar but I don't get the target artillery action when I'm gunner in it. If I place another empty mortar beside it using the editor I get the action.
I've place the artillery logic and synced it to myself. It's only script spawned artillery that get no targeting. Map place artillery work as intended
Script problem
in ARMA 2 & OA - MULTIPLAYER
Posted · Edited by Ouchtime
I'm having problems with one of my scripts that I can't make figure out.
This command "_vehicle addmagazine "xxx";",xxx being the ammoname ofcourse, don't work on a dedicated server. Works perfectly on preview in the editor so I suspect it's because the script that execute the command is run on a client and it need to be done on the server.
Edit:
Never mind, ir turned out to be some freakish serverlagg