Jump to content

Barba-negra

Member
  • Content Count

    445
  • Joined

  • Last visited

  • Medals

Everything posted by Barba-negra

  1. Barba-negra

    merge missions scripts

    @GEORGE FLOROS GR a companion question, would there be the possibility of creating a camera attached to the player, and be able to continue moving the player? I've seen the tutorial but all the cameras and effects during his action make him lose control of the player and he can not move
  2. Barba-negra

    activator of true or false

    your appreciation is very good Lord@Larrow I'm going to study it to see how it works, just like you @Tankbuster
  3. good afternoon friends greetings to all, I come here to ask if the script that I am creating will be fine, since I want to create a call of an action but I would like it if the condition is not fulfilled is also the report, then I am creating a script this way, but I do not know if it's okay: vehicle = "b_boat_f" createvehicle (0.0.0); posID = vehicle modelToWorld [0,1000,0]; if ((posID distance player) < 1000) then { "hint `is within the distance`" } else { "hint `is out of the distance" };
  4. Barba-negra

    activator of true or false

    yes you are right to use _vehicle to turn it into a global variable, and if the player is a meter behind the boat then he should throw the hint that is out of the distance, because the idea is to indicate that the player is in front of the boat and not behind, or to the sides, if the condition is met then it will be known that the player is facing the boat
  5. Barba-negra

    merge missions scripts

    thanks friends I go check
  6. Barba-negra

    merge missions scripts

    I would like to take the opportunity to ask once and for all if the possibility exists to create a camera movement as addcamshake in a specific direction, now I have managed to move the camra to a direction for a short time of 10 to 15 seconds, but I would like to know if it could be extended without the address changing to the opposite direction in the time that you want? [] Spawn { addCamShake [40, 8, 0.09]; setCamShakeParams [0.01, 1, 0, 0, true]; Sleep 1; addCamShake [40, 8, 0.09]; setCamShakeParams [0.01, 1, 0, 0, true]; Sleep 1; addCamShake [40, 8, 0.09]; setCamShakeParams [0.01, 1, 0, 0, true]; Sleep 1; addCamShake [40, 8, 0.09]; setCamShakeParams [0.01, 1, 0, 0, true]; };
  7. Barba-negra

    merge missions scripts

    thaks mate I go check
  8. Barba-negra

    merge missions scripts

    yes @GEORGE FLOROS GR just copy the objects with their positions, no matter the terrain, and if I refer to the map (mission), I have searched for a lot of how to do it but I still do not know how
  9. Barba-negra

    merge missions scripts

    if friend wish to copy the objects placed in a mission file on another map already in progress, an example would be to be on a mission and with a scritps you can spawn the objects that are in the mission.sqm file of another mission, pog them on the map Current, I have seen that the ares and the achilles have that function but I would like to know if it is possible to do it through a scripts?
  10. hello good morning everyone, I'm here to ask if there is any way to create player movements of the player to a specific address, I've tried with addCamShake but the movements are in two directions, on the sides or up and down, and I need only one address for the estimated time that I can configure, thanks in advance
  11. I understand partner, if I was looking for a way to do it without having to rotate it again, , what happens is that in that way that you pose the object will focus on the base object and go to its position, my idea is that from the place where the tied object remains without moving when using the attachto, and with the command that I apply is done, but unfortunately it is turned to another direction, anyway thanks bro
  12. good night guys, greetings to all, I'm here to ask for help if they can help me, I'm trying to place an object with attachto but once I do this it makes a turn to another direction, and tried several ways and even The problem persists, this is what I have tried: private _dir = (vectorDir _source vectorDiff vectorDir _target); private _up = (vectorUp _source vectorDiff vectorUp _target); _source attachTo [_target]; _source setVectorDirAndUp [_dir, _up]; but even if the object rotates, will it be possible to achieve this?
  13. Good morning friends, I hope you are very well, guys how do I do this so that the movement of an object's turn is not fast, if not change direction to the desired speed? I am using this command but it is direct without speed: object setVectorDirAndUp [[0,0.66,-0.33],[0,0.33,0.66]]; maybe setVelocityTransformation serve me? How could I do it? Thanks in advance
  14. Is it possible that I can call 2 objects to the same function? that is to say: objeto1 and objeto2 setVectorDirAndUp [[0,0.66,-0.33],[0,0.33,0.66]]; ? is giving me error but how could I do it?
  15. well I think that I'm wrong does not work, must have some error, I'll take advantage of asking something else, is there the possibility that with the parameter setCamShakeParams, I can make the player's camera only move to one direction? that is to say that vertCoef only moves one time up and that it takes more time to down?
  16. this would serve ? waitUntil { // Wait 5 minutes _until = diag_tickTime + 5 * 60; waitUntil {sleep 1; diag_tickTime > _until;}; if(_condition) then { object setVectorDirAndUp [[0,0.66,-0.33],[0,0.33,0.66]];, }; false; // Loop waitUntil forever };
  17. I have not tried, but where would I put it? because if I put a sleep, the delay time will be only before doing the action of inclination, and once you finish the sleep make the turn sharply
  18. ok bro I'm trying to make an object that is in an initial position, begin to lean forward 30 degrees, that I can do with setVectorDirAndUp [[0,0.66,-0.33],[0,0.33,0.66]];, the problem is that he does it instantaneously, and I need to set a speed to him, so that he makes the inclination slower
  19. ok friend I'm going to take a good look at that if I can do it, thanks bro
  20. is that I need to be slow, or with the speed that I can adapt when I make the turn
  21. I understand , and setVelocityTransformation Could it work to set turning speed?
  22. if you understand me ?
  23. thanks friend, what I try to say, is that with setVectorDirAndUp, I can change the direction of an object, but when I do it, it does it instantaneously, and I would like it to be slow
×