Jump to content

alex943

Member
  • Posts

    11
  • Joined

  • Last visited

Posts posted by alex943

  1. look at this

     

    [scripts.txt]

    Line 14
    Code :

    !="player attachTo [_remorqueur" !="_objet attachTo [_heliporteur"



    Line 17

    Code :

    !="_objet setVelocity" !="getPos _objet select"


    Line 23

    Code :

    !=""Scripts\R3F_ARTY_AND_LOG\init.sqf";""



    Line 53

    Code :

    !="_objet addEventHandler"




    [setvariable.txt]


    Line 1

    Code :

    !=(r3f_log_remorque|r3f_log_est_transporte_par|r3f_log_heliporte)

     

    [Attachto.txt]

    Line 1, Change 5 to 1



    [setpos.txt]

    Line 1, Change 5 to 1

  2. Hi everybody,

     

    I have an issue when car killing AI :

     

    '...4_steering","wheel_2_4_steering"];

    {_vk |#|setHit [_x,(_vk getHit _x)+(.2+(random ...'

    Error Type Nombre, Not a Number, Nombre attendu

    File mpmissions\__CUR_MP.Altis\semClient.sqf, Line 109

     

     

    Nothing happen except the AI was still stuffed.

     

    here the script part :

     

    "SEM_vehDamage" addPublicVariableEventHandler { private ["_vk","_vP","_s"];
    _vk = _this select 1;
    _vP = vehicle player;
    if(!local _vk)exitWith{};
    if(_vk != _vP)exitWith{};
    _s = ["MOTOR","karoserie","palivo","glass1","glass2","glass3","door1","door2","door3","door4",
    "wheel_1_1_steering","wheel_2_1_steering","wheel_1_2_steering","wheel_2_2_steering",
    "wheel_1_3_steering","wheel_2_3_steering","wheel_1_4_steering","wheel_2_4_steering"];
    {_vk setHit [_x,(_vk getHit _x)+(.2+(random .15))]}count _s;
    };

     

    I still have this message when i car kill AI. does .2 and .15 are consider as numbers??

×
×
  • Create New...