Jump to content

hundredyears

Member
  • Content Count

    7
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About hundredyears

  • Rank
    Rookie
  1. hundredyears

    [ALPHA] Sabotage Script

    Isn't there a way to attach a bomb onto object? Using the attachto command. I think this way it would solve a lot of problem and provide a new way to kill the enemy. "Oh you're driving off with my truck? CLICK CLICK boom" You don't mind if I modified this for my own usage right?
  2. So I have an animation that would look great in the porta potty and how can i attach the ai in it? the animation is "c5efe_MichalLoop" it's part of a search and rescue mission i'm making. Fix it :D found the attachto command and just play around with it. here is the code. unit1 attachto [toilet,[0,0,-1]]; unit1 switchmove "c5efe_MichalLoop";unit1 disableai anim; spawn a unit spawn a toilet and move the unti ontop of the toilet, play around the [0,.5,-1] -1 being the height 0 behind the axis x .5 being the axis y something like that :). think of the possibility :D
  3. hundredyears

    Make heli land under fire

    Unit Init: HeliUnit SetCaptive true; Try this it should work had the same problem.
  4. hundredyears

    Helo Water Insertion Script

    Thanks it work :D I'll wait until there's a proper diving animation for now i'll play around with it.
  5. hundredyears

    Helo Water Insertion Script

    I made it work using this, i guess if i did the playmove first the player get stucked. player setPosATL [ getPosATL player select 0, (getPosATL player select 1) - 5, getPosATL player select 2]; sleep .5; player playmove ["Chopperlight_R_Out_H]; sleep .5; player allowdamage false; sleep 10; player allowdamage true; Now my main problem is this is fine in a single player mission. But as soon as i convert my mission to multiplayer other palyer cannot dive. they get teleported a few meter under the chopper and back into it instantly. Again thanks for the help you've been really helpful.
  6. hundredyears

    Helo Water Insertion Script

    Thank You it work :D But I edit it so it only work 3m away from a chopper here's the code Add this in your helo Init: this addAction ["DIVE","dive.sqf","(_target distance _this) < 3"]; //this addAction ["DIVE","dive.sqf","(_target distance _this) < 3"]; player setPosATL [ getPosATL player select 0, (getPosATL player select 1) - 5, getPosATL player select 2]; player allowdamage false; sleep 10; player allowdamage true; ---------- Post added at 08:50 PM ---------- Previous post was at 08:17 PM ---------- The next problem is making it a smooth transition :) player animate ["Chopperlight_R_Out_H]; I tried putting it in the script but it conflicted and i was stucked in the chopper. and i'm thinking set the position to -1 or -0 instead of 5 so it will get out the door? maybe the get out of bench animation work for little bird :)
  7. I need help in getting set damge to work correctly. So anyways upon hitting the water my guys die. I just started learning how to script, how do I add a setdamge to false and wait 10 second until setdamge true is turn back on? Dive.sqf //Player Init: this addAction ["Dive - seal","dive.sqf",["seal"]]; _per removeAction _act; player setPosATL [ getPosATL player select 0, (getPosATL player select 1) - 5, getPosATL player select 2]
×