Jump to content

Ouchtime

Member
  • Content Count

    6
  • Joined

  • Last visited

  • Medals

Posts posted by Ouchtime


  1. 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


  2. 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.


  3. 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

×