Jump to content

felipechapmanfromm

Member
  • Content Count

    33
  • Joined

  • Last visited

  • Medals

Community Reputation

3 Neutral

About felipechapmanfromm

  • Rank
    Private First Class

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks, I will try that when I get in. Cheers
  2. Hi, the heli is a helenic eurocopter, it has passenger seats, I am trying to get the AI to get in passenger seat, as I said before it works with moveInCargo, but there is no animation. Cheers!
  3. Hi there again, Your code works but when I do casSpawn assignAsCargo _veh; [casSpawn] orderGetIn true; The AI move in front of the Heli and does not get in, so I used moveInCargo, That works but there is not animation, How do I use assignAsCargo properly / get it to work. Cheers.
  4. Thanks for the responses guys, I will test them now!
  5. So I have modified my code but now how have an undiffined variable in expression _veh, when it is defined _nObj = nearestObjects[casPos, ["sarheli0","sarheli1","sarheli2"],100]; _veh = _nObj select 0; casSpawn assignAsCargo _veh; [casSpawn] orderGetIn true; hint _veh; heres my code. Thanks
  6. Thanks I will try that
  7. I have tried using GETIN NEAREST in a waypoint, but I had problems with it. This is my code atm nObj = nearestObject[casPos, ['sarheli0','sarheli1','sarheli2']]; casSpawn assignAsCargo nObj; [casSpawn] orderGetIn true; I know this code is wrong, also in the type for nearestobject can I put global variables into it
  8. felipechapmanfromm

    how do I use nearObjects

    how do you mean by reveal Edit: found it, could I use {casSpawn reveal _x} forEach allUnits; to reveal everyone to the ai?
  9. felipechapmanfromm

    how do I use nearObjects

    when I fly a helicoper to the AI he won't get in, but with a boat it has. I have not tried with a car. (the heli was a hellenic mod one) what is wrong with the code that makes this happen, or is it the mod ps. with waypoints in the editor the AI happily get into the heli
  10. felipechapmanfromm

    how do I use nearObjects

    Thanks for the help, _casPos and _casSpawn are used later in the script.
  11. I have got this code casGroup = _this select 0; casPos = _this select 1; casSpawn = _this select 2; _getIn = casGroup addWaypoint [position player, 0]; [casGroup, 1] setWaypointType "GETIN NEAREST"; when I fly a helicoper to the AI he won't get in, but with a boat it has. I have not tried with a car. (the heli was a hellenic mod one) what is wrong with the code that makes this happen, or is it the mod edit: with waypoints in the editor the AI happily get into the heli
  12. felipechapmanfromm

    how do I use nearObjects

    I solved it with casGroup = _this select 0; casPos = _this select 1; casSpawn = _this select 2; _getIn = casGroup addWaypoint [position player, 0]; [casGroup, 1] setWaypointType "GETIN NEAREST";
  13. felipechapmanfromm

    how do I use nearObjects

    I have changed it, can u help me
  14. I have 3 variables for heli's sarheli0, sarheli1 and sarheli2 imported from the mission. how would I put them into the near objects so I can assign an AI to get in the heli in the trigger zone (script is triggered from another script) this is my code casGroup = _this select 0; casPos = _this select 1; casSpawn = _this select 2; sarheli = _this select 3; sarheli1 = _this select 4; sarheli2 = _this select 5; _heliTypeSearch = casPos nearObjects [['sarheli0','sarheli1','sarheli2'],40]; _heliType = _heliTypeSearch select 0; casSpawn assignAsCargo _heliType; [casSpawn] orderGetIn true; Cheers.
  15. felipechapmanfromm

    ExecVM from triggers

    Thanks for all the help, i have solved it now
×