Jump to content

SpaceHippo

Member
  • Content Count

    27
  • Joined

  • Last visited

  • Medals

Community Reputation

23 Excellent

1 Follower

About SpaceHippo

  • Rank
    Private First Class

Profile Information

  • Gender
    Male
  • Location
    USA

Recent Profile Visitors

226 profile views
  1. SpaceHippo

    Adding Loot to Multiple Crates

    put a space between "round" and "(random 2)"
  2. SpaceHippo

    Adding Loot to Multiple Crates

    Try using addWeaponCargoGlobal and addItemCargoGlobal
  3. Understandable 😆. I wrote two functions similar to what you need a while ago when I first found that pdf. See if you can use them might help some. Predict future position (3D): Calculate vectors from one point to another:
  4. I would recommend giving this paper a read and applying the concepts into SQF. The paper is about how anti-aircraft targeting systems mathematically determine the orientation of the gun in order to have the bullet intercept the path of a moving target.
  5. Which kind of UAV are you using and what type specifically? Ah Wait I see apologies 😅. The "destroy" waypoint isn't meant to be used for fire missions like you described and I'd recommend scripting something like that manually with a command like fireAtTarget. I also found this carpet bomb script which I thought you may be interested in.
  6. SpaceHippo

    Spawning ai inside buildings

    You're gonna want to use disableAI to change behavior and buildingPos to get the positions they should be placed. Also, when spawning units it is good to use createUnit and not createVehicle.
  7. In LoadoutClasses.hpp there are extra commas on the final array elements on lines 140, 400, 462, and 528. Also, in initServer.sqf, I'm not sure what the "3" in the function call parameters is there for but the only one without it is the one that works so perhaps the problem lies somewhere there.
  8. Try disableAI in an event script or in the initializing field of the unit's attributes
  9. SpaceHippo

    Who triggers a trigger?

    Filter thisList so you have an array of BLUFOR and an array of Independent with forEach and side then use knowsAbout or targetKnowledge to compare their information and determine if they know about each other then execute according with an "if () then {};" code block.
  10. SpaceHippo

    Vehicle removal

    Wreck removal in description.ext/mission attributes doesn't remove empty vehicles, they have to be destroyed (hence the term wreck removal).
  11. It is possible. The addAction command has a parameter that only shows the action when the code in the parameter is true. In your case, you would probably use the backpack command in the condition parameter. Would look something like this: player addAction [ "<title>", { params ["_target", "_caller", "_actionId", "_arguments"]; // some code... }, [], 1.5, true, true, "", "(backpack _orignalTarget) == 'some_classname'", // _target, _this, _originalTarget 50, false, "", "" ];
  12. Found the edited original here and edited it again: My revised code for you to use:
  13. Have you made a mission file in the Eden Editor yet?
  14. Players would be able to spawn on the squad leader even if there are flags. What, specifically, are these 'flags' you're referring to though because I don't seem to understand.
×