Home   Help Search Login Register  

Author Topic: condition of presence  (Read 476 times)

0 Members and 1 Guest are viewing this topic.

Offline pexmo

  • Members
  • *
  • I'm a llama!
condition of presence
« on: 11 Feb 2005, 11:33:15 »
Ok i know this must have been asked before but i couldnt find the answer for it in the FAQ or the forum, ok here it goes:

I want to be able to spawn groups with set members and initline "values" and set waypoints... By a trigger. This is to reduce the performance loss in mission with a large amout of troops.

How do i do this?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:condition of presence
« Reply #1 on: 11 Feb 2005, 11:49:16 »
This is nothing to do with the "condition of presence" field in the unit detail screen, whichcontrols the likelihood of the unit appearing at the start of the mission.    

What you need are createUnit, createVehicle or camCreate commands, principally createUnit.    Check the online comref for an example.    The best way to create a really large amount of lag really quickly is to create a lot of units at the same time, so be careful.

There may be some scripts in the Ed Depot, not sure.   Have a hunt around.

I also wrote a tutorial on reducing lag, which you might find helpful.
Plenty of reviewed ArmA missions for you to play

Offline pexmo

  • Members
  • *
  • I'm a llama!
Re:condition of presence
« Reply #2 on: 11 Feb 2005, 12:31:27 »
thx ill check this out

Offline pexmo

  • Members
  • *
  • I'm a llama!
Re:condition of presence
« Reply #3 on: 11 Feb 2005, 12:39:52 »
I guess i could set the units FAR away and teleport the groups in.... just have to find out how :)

Nice reducing lag turorial by the way :) :D :P

Offline pexmo

  • Members
  • *
  • I'm a llama!
Re:condition of presence
« Reply #4 on: 11 Feb 2005, 13:23:29 »
i can teleport the groups by teleporting each soldier in the group with a setpos getpos. they teleport to a gamelogic. The thing is that they woth continue using their waypoint after this teleportation. How do i fix this?

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:condition of presence
« Reply #5 on: 11 Feb 2005, 14:09:44 »
by using a trigger of type 'switch' - again, there are good tutorials explaining how powerful switch triggers are.