Jump to content

killermanny9

Member
  • Content Count

    12
  • Joined

  • Last visited

  • Medals

Community Reputation

2 Neutral

About killermanny9

  • Rank
    Private First Class

Profile Information

  • Gender
    Male
  • Location
    Altis
  • Interests
    Hunting the FIA

Recent Profile Visitors

62 profile views
  1. killermanny9

    [SOLVED] Unit command to land&unload

    That was exactly the thing I was looking for, thank you!
  2. killermanny9

    [SOLVED] Unit command to land&unload

    Thank you, those worked perfect with locking the heli until it reaches it's target. Do you by change know what I should change the "move" to in my original script in order to make the helicopter land? Ive tried other commands but they just give me an error.
  3. Hello, ive got a script that activates on trigger that works perfect. it makes a helicopter move between a few randomly created waypoints. My problem here is that after the helicopter reaches the generated waypoint it just freezes and stays in a hover over the spot when I want it to land and force out any troops. I'm also trying to find out how to remove the eject button from playable characters when they are in a moving helicopter. Below I have what I'm using on the trigger to move the helicopter randomly. I tried changing "move" to other things such as unload or transport unload but it has the same result or just errors me. Please note ive got the scripting knowledge of a retarded peanut. Thanks for any help. heliGroup = group H1; randomPoint = selectRandom ["marker1", "marker2", "marker3"]; wp = heliGroup addWaypoint [markerPos randomPoint, 0]; wp setwaypointtype "MOVE"; wp setWaypointSpeed "NORMAL"; wp setWaypointBehaviour "AWARE";
  4. Hello, Ive been working on a MP mission but I want random loot to spawn in buildings like how you would see on dayz or epoch. Ive already tried some scripts out but none had what I needed, or I couldnt wrap my head around the workings to make it what I need. Sadly I am having some troubles trying to change things up a bit, I just do not know how to make it spawn anything other than just weapons and Ive tried a lot of different ways but I'm pretty much a noob to arma scripting. Thanks for any help. I'm very grateful. I'm sorry if it is a lot or to demanding. I will appreciate what I can get. List of what I'm trying to get out of it Random loot spawns on floor in buildings (I tried creating an itemBox and setPos (0,0,0) method. worked exactly how I wanted.) Ability to select which weapons are spawning in an Array and have a random count of the mags spawn with it (I managed to get this at one point but didnt know how to randomize mag spawn count.) Having clothing/accessory and item spawns the same way as weapons but not seperately. (I could never figure out how to mix these arrays in along with the weapons array spawn, so that it is not just a million spawns of ONLY weapons. Also trying to make a mission on tanoa so I'm trying to mostly use only apex clothing if possible) Configurable loot spawn chance for a select of weapons in the weapons array. (Im actually trying to get this for both clothing and items too, but im sure I can most likely convert it over to them myself. I just cant figure out a script for it.)
  5. @wogz187 @Maff I finally got it to work, thanks guys! I'm pretty certain I can figure out how to add waypoint expressions on there on my own to make it to where they can still rappel down instead of having to switch to landing. Goodnight the both of you!
  6. @wogz187 Thanks, I removed the pilot and copilot's names and used the string but it still just hovers there. The only thing I changed this time was marker names to the ones I used and it accepted it and let me save it into the trigges ON ACTIVATION init. The code as is. exactly how it is in the editor. The only thing that still has a name are the markers and the helicopter itself. Named H1 heliGroup= group Heli1d; randomPoint= selectRandom ["Marker1", "Marker2", "Marker3", "Marker4"]; _wp = heliGroup addWaypoint [getmarkerpos "randomPoint", 0]; _wp setwaypointtype "MOVE"; _wp setWaypointSpeed "NORMAL"; heliGroup setBehaviour "Aware";
  7. @wogz187 Don't apologies, you're helping me even though you didn't have to go any farther than providing the script in the first place, and I really appreciate it. I do still seem to have an issue though. I dont thing I'm doing something right at this point because the helicopter now just stays still in the air with this error. '... "Marker4"]; Insertion = heliGroup |#|addWaypoint [getmarkerpos "randomPoint",...' Error Generic error in expression
  8. @wogz187 Sorry it took me a while. other things I had to do in life. I put the script in ON ACTIVATION on the trigger and kept getting some errors as I changed some things up, I guessed that _wp is the variable I named the waypoint I want to randomize? and some other things like the group up beside heliGroup =. I dont know a solution for this error though. This is the error I get now. call{heliGroup= H! |#| H1A; randomPoint= selectRandom ["Marker...' Error Missing ; This is the updated version with some changes. please let me know if I screwed some things up. heliGroup= H1 H1A; randomPoint= selectRandom ["Marker1", "Marker2", "Marker3", "Marker4"]; // array of named markers Insertion = heliGroup addWaypoint [getmarkerpos "randomPoint", 0]; Insertion setwaypointtype "MOVE"; Insertion setWaypointSpeed "NORMAL"; heliGroup setBehaviour "Aware";
  9. @wogz187 Sorry, was feeding my baby. group name as in my team? If that's the case its Independant. Yes the first waypoint is editor placed
  10. @wogz187 Just at mission start, I have a heli already in there air with a waypoint to the center of the map, I'm trying to get the second move waypoint be randomized once it reaches the first move waypoint so the helicopter goes to the center of the map then to a random position. Ive already got the markers out to the spots I want and already have them synced to the waypoint I want random. I assumed by array you mean synced like some other random spawned stuff I managed to get working without scripts. Heli Variable (Heli1) Pilot Variable (Heli1A) Marker Variables (Point1, Point2, etc.) I dont know if giving you the variables would be useful
  11. Thanks, This is my first creation with absolutely no experience with Arma scripting. I'll figure out where it goes and all that technical stuff.
  12. I've been working on a mission for a while now and have the basic setup and AI all together. I decided to change up the way it does insertions though but cannot figure out how to get a helicopter to have a move way point randomly placed across marked points on the map. Currently I have a helicopter (Heli1) go to a move way point and rappel troops down onto and invisible heli pad (RappelP) and fly off deleting itself on a trigger in the distance and it works great. My issue is that my mission works with a lot of randomly placed structures and loot with random spawn locations for the opposing team and items that do not start in a helicopter. I think its pretty lame to have everyone else randomly spawn but for one side to always have to be dropped in the same place.
×