Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

weasello

Member
  • Content Count

    9
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About weasello

  • Rank
    Private
  1. weasello

    Random placement

    // Define the distance _dist = 1000; // Get a random direction _dir = random 359; // Move the person _DIST meters away from the destination (in the direction of _dir) unit_name_here SetPos [(getMarkerPos "spawnCenter" select 0)-_dist*sin(_dir),(getMarkerPos "spawnCenter" select 1)-_dist*cos(_dir)]; That should do the trick. :) Requires a marker named "spawnCenter" obviously.
  2. weasello

    Chat in SP?

    It looks like directSay doesn't "say" what you put in quotes. unit_name directSay "testing"; will actually play the pre-defined message labelled "testing" - it won't say the word "testing." That's if I'm reading the comref docs correctly: so my question is - how do you define the message in description.ext?
  3. Here's a really simple one I whipped up, based off of the EVO-style teleport-from-flagpole:
  4. Pieced this together from a few different places. :)
  5. Hey everyone! This is my first mission - 5th (and hopefully final) revision. My squad (Phoenix Soldiers, PXS) has been helping me test it out for balance. I recommend a team of talented and strategically-minded individuals for this one - it's TOUGH! A quick rundown/explanation: - A simple extraction mission "goes bad" with an unfolding story - Lots of action for heli pilots, infantry, and vehicles - Approximate playtime 1 to 2 hours - Blackhawk can hoist vehicles - Huey can load ammo on the ship and unload it in the field (ammo supply loading is on the rear aircraft lift) - Middle aircraft lift is used for refuel and rearming - Weather starts off bad but clears up after 30 mins - Recommend no-AI and no-respawn, play on veteran mode for realism. :) Once you get in-mission check the tasks for more instructions and plot. Feel free to unpack the PBO and see how I did things or borrow ideas. I learned a lot of the scripting from the forums! Download: http://www.andymoore.ca/arma2/utesraid.zip feedback welcome!
  6. Can someone tell me what I'm doing wrong here? I have a similar setup - a satphone trying to put onto a table. Table is called "table1", satphone is called "satphone1". Code in satphone's init: satphone1 attachTo [table1,[0,0,1]]; I also tried putting "this" in place of satphone1 but nothing is working. The satphone just sits on the ground as per normal. :/
  7. Yep sure is possible. Make a new squad in the map editor, and set the leader (for your brother) as "playable". Then Save>Export to Multiplayer. done!
  8. For other commands there is an ASL (above sea level) variant - getHeight, getHeightASL - perhaps there is a flyInHeightASL or similar value?
×