Last active 3 months ago
@marceldev89 .....You have replied to me on another thread, thank you. To be honest I do not even know what I was trying to do here. I believe I was trying to pass the init code on vehicles I place on Map synched to Support Module, Not Spawned ones. What happens is, when I place a manned Chopper synched to Support Module, have code in init for Textures, doors etc, works initially, when the chopper is shot down and respawns, it loses all init code.
Sorry bout capitalization (habit). I have tried everything I could find searching. Right now I have placed the Transport Module, and in its code line I have "null = [this] execVM "UBER.sqf"; this addeventhandler ["respawn","_this execVM 'UBER.sqf'"];" And in my UBER.sqf I have
"_vehicle = _this select 0;
_vehicle setVehicleVarName "";
_vehicle setVehicleVarName "UBER"; UBER = _vehicle;
_vehicle setvariable ["CS_TYPE","TRANSPORT"];
_vehicle setvariable ["CS_CALLSIGN","UBER"];
_vehicle setFormation "WEDGE";
_veh = [UBER] execVM "Doors.sqf";
_hdl = [UBER] execVM "heliDoors.sqf";
_vehicle setObjectTexture [0, "Images\Ghosthawk_Night1.paa"];
_vehicle setObjectTexture [1, "Images\Ghosthawk_Night2.paa"];
0 = ["AmmoboxInit",[_vehicle,true]] spawn BIS_fnc_arsenal;
CAS attachTo [UBER, [60, 500, 100] ]; "
Everything works host side, but anyone that is client side textures are default. I have tried setObjectTextureGlobal....I have tried a ton of different ways that I have found searching internet, I have found nothing that works. Any help is very appreciated!
Sorry To Bring Up Old Thread. ARJay This Works Untill Vehicle Respawns. Is There Anyway To Fix This?
I Have Found A Way To Have Escort For Transport Chopper. Its A Little Complicated But Works Decent. If Anyone Is Interested. Link To Sample Mission http://steamcommunity.com/sharedfiles/filedetails/?id=1096335806
Hello All, I Place A Crewed UH-80 Synched To Combat Module. I Have Code In Init For Textures, And Opening Doors Etc. When The Chopper Respawns It Does Not Load Init Back Up. If I Place A Module Instead Of Crewed Vehicle It Works Great. But I Cant Use A Trigger To Check If EngineOn Or Not. If Anyone Could Help Me With Either Of These Problems I Would Appreciate It Greatly!
Thanks For The Reply.
Sorry To Bring Up Old Thread, But Spyder I Was Trying To Do The Exact Thing You Are Describing, As Far As Moving Respawn Marker. The Respawn Marker Moves As It Is Supposed To, But The Helicopter Still Inserts To The Original Location Of Marker. I Couldn't Download Your Example Mission, It Is No Longer There.
Any Help Would Be Greatly Appreciated