trm2109 Posted February 6, 2015 Posted February 6, 2015 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:)
trm2109 Posted February 9, 2015 Author Posted February 9, 2015 can anyone help with this it's driving me mad:helpsmilie:
Grimes Posted February 10, 2015 Posted February 10, 2015 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 Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
trm2109 Posted February 11, 2015 Author Posted February 11, 2015 ok thanks Grimes i'll give it a go. thought i had to use lua for the units to retain tasks
NakedSquirrel Posted February 11, 2015 Posted February 11, 2015 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
trm2109 Posted February 12, 2015 Author Posted February 12, 2015 thanks squirrel! having a look at that now see if i can integrate into my mission
Recommended Posts