Jump to content

Recommended Posts

Posted

hi easy one for you scripters i need a lua predicate script that triggers a respawn:

 

condition:

if group in zone or if group dead true

 

action:

mist group respawn

 

any help appreciated:)

Posted

Well if you are using mist I'd just use the flag funcs to accomplish the same basic thing.

 

Specifically GroupDead and Units in Zones

 

Have both functions set the same flag to true, which would be used in another trigger to respawn the group.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted

I have this script in my Mig Alley mission. (only some of the Mig15 and F86 AI have this running, others go by group inactive/dead so they have a chance to go back and land and stagger the number of ai in the air)

 

I did all of it through triggers with luapredicate at the end. It should be fairly straightforward if you open it up in the editor. Just copy and paste the text and change the name of the groups.

 

http://forums.eagle.ru/showthread.php?t=138754

Modules: A10C, AV8, M2000C, AJS-37, MiG-21, MiG-19, MiG-15, F86F, F5E, F14A/B, F16C, F18C, P51, P47, Spitfire IX, Bf109K, Fw190-D, UH-1, Ka-50, SA342 Gazelle, Mi8, Christian Eagle II, CA, FC3

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...