NKVD 0 Posted September 15, 2004 I would like to add special fx script to every chopper that would be bought from Air Factory in mfcti 1.16, I can use this script if I put it in chopper's init field like "this exec coolscript.sqs", but where in mfcti1.16 should I edit to add that script ? So far I found EquipCargo.sqs in mfcti1.16 but it doesn't work..I put script there and nothing happens... Could someone give me an idea of where to insert the custom script there for choppers bouhgt from Air Factory ? kthx. Share this post Link to post Share on other sites
jolivan77 0 Posted September 15, 2004 Use eventhandler. _chopper addeventhandler ["init",{[_this] exec "script.sqs"}] Share this post Link to post Share on other sites
NKVD 0 Posted September 15, 2004 here is part of equipcargo.sqs in mfcti1.16 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> #EquipEastTransport _vehicle addAction ["Set up cool stuff","SFX\coolburn.sqs"] _vehicle AddEventHandler ["killed",{[_this] exec "removeactionloop.sqs"}] exit the problem Im having is that it doesnt even show that action....nothing happens.... Share this post Link to post Share on other sites