Jump to content

Ramon Berenguer IV

Member
  • Content Count

    27
  • Joined

  • Last visited

  • Medals

Posts posted by Ramon Berenguer IV


  1. It's quite simple: you need to create an explosion. Just use this code in a trigger:

    bomb = "Bo_GBU12_LGB" createVehicle getPos vehicleName

    "Bo_GBU12_LGB" it's the type of the bomb you want to cause the explosion (here is a list: http://community.bistudio.com/wiki/ArmA_2:_Weapons#Artillery_Weapons_and_Special_Ammo . You have to choose in the section "Vehicle & Static Weapons" or "Artillery Weapons and Special Ammo"; take only "Ammo classnames" entries). VehicleName indicates the name of the vehicle you want to explode. In practice with this command you create a bomb magazine on the object (in your case a vehicle); the bomb will explode, creating the effect you were searching for.

    Let me know if there are troubles!


  2. This is what I want to do: the player is moving with a team whose he's not the leader. At some point there is a choice that the player should do; how can I make that if the player decide for "1" the AI team follow a waypoint, and if player choose "2" the AI team follow another waypoint?

    P.S.

    "1" and "2" stand for the two options.


  3. OP stands for "Opening Poster", the one who started the thread....in this case: you. ;)

    :D oh, great! :rolleyes:

    However, thanks you all guys, I think it was as shk said! In fact I wrote the text for the init.sqf on Word, then I copied it on the file, and the quotation marks were in different type of letter. Now it works, thanks! I only have a doubt: how can I make the text appear as the mission begin? I have only to edit the description.ext?


  4. Here is the briefing.sqf, aswell:

    waitUntil {!(isNull player)};

    waitUntil {player==player};

    switch (side player) do

    {

    case WEST:

    {

    player createDiaryRecord ["Diary",["Promemoria","Puoi uccidere il soldato come preferisci."]];

    tskobj_1=player createSimpleTask ["Uccidi il soldato"];

    tskobj_1 setSimpleTaskDescription ["Devi uccidere il soldato vicino a te per vedere se funziona il file briefing.","Uccidi il soldato","Uccidi il soldato"];

    player setCurrentTask tskobj_1;

    };

    case EAST:

    {

    };

    case RESISTANCE:

    {

    };

    case CIVILIAN:

    {

    };

    };

×