stilton 0 Posted June 15, 2009 (edited) Hi, I am editing this to include my latest problem hopefully someone will see this before it needs to be bumped.. I have a trigger next to a table that gives the player the option to call a taxi, which appears to work fine so far. Condition: (player distance Taxistop1 < 2) OnAct: taxireq01 = player addaction ["Request Taxi", "TaxiReq.sqf"]; DeAct: player removeAction taxireq01 This is what i have in my TaxiReq.sqf _TaxiPilot1 = 0; _TaxiPilot2 = 0; _TaxiPilot3 = 0; switch (_TaxiPilot1) do { case 0: { _man sideChat "Pilot 1 is Idle"; }; case 1: { _man sideChat "Pilot 1 is Busy"; }; case 2: { _man sideChat "Pilot 1 is Dead"; }; }; #end _man sideChat "The End."; exit I was trying to give each pilot a 'state' of being IDLE / BUSY / DEAD.. Then check this with the switch But its all going a bit sketchy :) Mostly arma crashes and complains about something about file preprocessing, which tells me im doing something horribly wrong.. and ive spent a few hours now but i seem to be making more errors than im fixing :) could a coder guru please tell me what im doing wrong, thanks. Edited June 15, 2009 by Stilton Share this post Link to post Share on other sites