smokin 0 Posted December 16, 2003 Share Posted December 16, 2003 Well im new at trying to create missions and ive been enjoying figuring out igor. But i hit i nice little snag now, I am trying to call up a sript block after a specific trigger, im trying to do it this way because i am of the opinion that i can eventually also call other script blocks at the same time and be able to add more scenarios to a mission if i do it this way. So far i created a new GROUP, i.e. (defend_zone_1) after a trigger, i.e. (death to platon member) i want this block activated via QUECALL. So far no success. Anyone can point me in the right direction? i understand about creating new groups to be called. but still no success, right now im thinking i need to enable the group in start up. well ill try that and see if that works while i wait for a reply. Quote Link to post Share on other sites
smokin 0 Posted December 16, 2003 Author Share Posted December 16, 2003 no good, guys are still patroling. enableing the group in the start up did not work for me, but at this point im just clicking and guessing here. Quote Link to post Share on other sites
OSO 0 Posted December 16, 2003 Share Posted December 16, 2003 (edited) Group: Default Trigger Event: Death Team Member Responses: Block Preserve Call defend_zone_1 after this block. Group: defend_zone_1 Trigger Event: Call Responses: Block Preserve (not sure if it is needed but it doesn't hurt) Add whatever you wish..... I'm not sure why you want to do it this way when the first block is all that is needed. It will activate any time a member of that team is killed. If you want the guys to do something else you'll have to set up a trigger plan and cancel their existing one for them to do whatever it is you want. Edited December 16, 2003 by EL_OSO Quote Link to post Share on other sites
smokin 0 Posted December 16, 2003 Author Share Posted December 16, 2003 Thank you, That worked!! But last little thing im planning on doing is adding a Block reserve after these blocks are activated, guess that it'll help wit lag? Anying input anyone has on that feature -BLOCKRESERVE- Quote Link to post Share on other sites
OSO 0 Posted December 16, 2003 Share Posted December 16, 2003 Block Preserve just allows you to access a block more than once. By default a block is run in the script one time. Preserving it keeps it open. If you choose to use the group method and call it, it won't be active unless it is running. Blocks in the default group are always active until they are ran. Commonly you preserve a block with an IF statement to check if certain conditions are true or false. Once that criteria is met you can turn the block off with a Block Remove. Example: Trigger Event: Obj - Timer has expired Responses: Block Preserve Continue If (Counter - Obj is greater than or equal to 4) Block Remove Declare Mission Complete Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.