binkster 0 Posted July 28, 2007 First off I have the this in the init.sqs Quote[/b] ]random2DOffsetBetweenRadii = preprocessFile "random2DOffsetBetweenRadii.sqf"_building addEventHandler ["Init", {_this exec "Buildingsounds.sqs"}] setTerrainGrid 50 ?(local server): onplayerconnected "[_name,_id] exec ""JIP\playerconnected.sqs"""; ?(local server): onplayerdisconnected "[_name,_id] exec ""JIP\playerdisconnected.sqs"""; ;?(local player): [] exec "JIP\messages.sqs" disabled Secondly I have onplayerconnected.sqs a list of 485 publicVariables used in mission. I havent figured out which should be used and which should not. So I just put them all in.. There are a couple publicVariables I do not know how to write for JIP players. First is Arrays, second is lines using %1. Anyone want to help that would be great. Mfcti is almost converted. Very few bugs left including JIP... I would also like to convert some heavy scritps to SQF but im a novice scripter and both JIP and SQF are over my head. Share this post Link to post Share on other sites
the unknown 0 Posted July 28, 2007 If your looking for a good way to start a JIP script I would suggest useing a trigger with the condition true. About the arrays etc. couldnt you just turn them into some kind of normal var and make that public? Share this post Link to post Share on other sites
binkster 0 Posted July 28, 2007 Not sure if i want to use a trigger. Im not familiar with that way. Any advanced scripters want to join up and give me a hand, with JIP then MFCTI will be ready for ArmA. Im guessing what needs to be sent to a connection player would be All this is when u turn ai off in lobby and join a slot where there is no ai. -buildings (noticed no options on buildings that were built before player connected. -Money (seems to be working) -Markers (Others cannot see you on map.) -Voting (You cant vote cause it doesnt recognize as a new player) When u connect when the ai are turned on you have different issues. For example The AI have different scripts running them when they are ai. When there is a AI commander He makes the ai independent. Therefore when u connect one of these ai the scripts still run in that direction. Sometimes ForceMap stays on. And you have no building options/menuoptions. You get scalarbool errors when u look at score. on money/points. Share this post Link to post Share on other sites