Login
OFPEC RSS
OFPEC The Editing Center
Not a member yet? Register for free!
  • Home
  • Intel Depot
  • Editors Depot
  • Missions Depot
  • Addons Depot
  • Forum
Home › OFPEC FAQ › How do you make one unit follow another?

How do you make one unit follow another?

Using the doFollow command you can make one unit follow another unit who is not in any group or part of the leaders group. In this example leader_unit is the name of whichever unit you wish unit_name to follow.

unit_name dofollow leader_unit

  • About OFPEC
  • Mission editing
    • Units
      • How do you modify a unit's side?
      • How do you change a unit's engagement mode?
      • How do you change a unit's behaviour?
      • How do you change a unit's standing mode?
      • How do you give a unit a different voice?
      • How do you change a group's formation?
      • How do you change a unit's speed mode?
      • How do you change the direction a unit faces?
      • How do you animate Units?
      • How do you make one unit follow another?
      • Do you think selecting multiple units via the F-keys is bit slow?
      • How do you give a unit sunglasses? (OFP)
      • How do you add style to units?
    • Vehicles
    • Weapons
    • Objects
    • Sound & Music
    • General Hints & Tips

Advertisement


Top of page

Sitemap

  • Home
  • Latest News
  • News Archive
  • Submit a Story
  • Subscribe to RSS
  • Editors Depot
  • COMREF
  • References
  • Tutorials
  • Tools
  • Scripts
  • Functions
  • Setpos Templates
  • Missions Depot
  • Single Player
  • Multiplayer
  • Campaigns
  • Addons Depot
  • Tutorials
  • Tools
  • Resources
  • Addons
  • Forum
  • OFPEC Tags
  • FAQ
  • OFPEC Tutorials
  • Face Library
OFPEC The Editing Center
© 2001 - 2026

Problems with the site? Email us

Disclaimer | Privacy Policy