BritishArmyReserveCadets Posted May 24, 2013 Report Share Posted May 24, 2013 Hi guys,Ive edited the LAChangeClothes script so that it works as a paramedic taking off or putting on his jacket. Initally it worked, but then when i added icons it didnt work and ive tried every possibility (changing little bits in the script, removing the icons etc) Ive uploaded the script (below) so if someone could take a look that would be highly appreciated!I know its a .txt, ive only done that so that i can attach it to the post (forum dosent allow .script extension)LAChangeClothes.txtEDIT: Also, the command becomes enabled when i call a firetruck, but they still wont change clothes Quote Link to comment Share on other sites More sharing options...
Hoppah Posted May 24, 2013 Report Share Posted May 24, 2013 Found at least one error.Line 30 ends with a double semicolon. Remove one of them. Seeconst char OBJ_PRAC_FLUORO[] = "mod:Prototypes/Persons/West Midlands Ambulance Service/ecp_fluoro.e4p";;Hopper Quote Link to comment Share on other sites More sharing options...
BritishArmyReserveCadets Posted May 25, 2013 Author Report Share Posted May 25, 2013 Eeny, meeny, miny, moe.Thanks ill try that in the morning Quote Link to comment Share on other sites More sharing options...
BritishArmyReserveCadets Posted May 25, 2013 Author Report Share Posted May 25, 2013 Removed one of them, still same problems as mentioned in first post Quote Link to comment Share on other sites More sharing options...
Hoppah Posted May 26, 2013 Report Share Posted May 26, 2013 What doesn't exactly work? You can't execute the script at all (as in pointing a vehicletarget where the FF will change), or do the FF run to the vehicle but nothing happens after? or does it crash the game (a CTD)?Hoppah Quote Link to comment Share on other sites More sharing options...
BritishArmyReserveCadets Posted May 26, 2013 Author Report Share Posted May 26, 2013 When i call one of the units with a Para, tech, para prac or officer, the command to put on a fluoro jacket (ie change from shirt proto to fluoro proto) is disabled, but when i call a fire truck the command is enabled, but when i try the command the person wont change into the jacket/other unit at any vehicle (They dont highlight blue'ish colour either to show thats where they can change) Quote Link to comment Share on other sites More sharing options...
BritishArmyReserveCadets Posted June 4, 2013 Author Report Share Posted June 4, 2013 Bump Quote Link to comment Share on other sites More sharing options...
Dyson Posted June 11, 2013 Report Share Posted June 11, 2013 Every vehicle that can be used to change clothes must have the axe as a piece of on board equipment. Go into traits in the editor and select it for the vehicles you want to be able to change at.I think thats probably your issueDysonx Quote Link to comment Share on other sites More sharing options...
BritishArmyReserveCadets Posted June 11, 2013 Author Report Share Posted June 11, 2013 Yeah that fixed it, thanks very much (Where did you find out that from?)Edit:Just looked at it: Now i know what i was looking for i suppose this was the line that determined that an axe was needed in the vehicleif (!Game::ExistsNormalObjectWithFlagSet(OF_HAS_FIREAXE)) Quote Link to comment Share on other sites More sharing options...
Dyson Posted June 11, 2013 Report Share Posted June 11, 2013 Figured it out myself whilst editing the script, I looked through the script and saw what the check target parameters were, sure enough it specified the rig must have an axe x Quote Link to comment Share on other sites More sharing options...