Jump to content
Pottyscotty

Getting equipment from certain Places

Recommended Posts

Is there a way to have a firefighter get a piece of certain equipment from a certain spot on a vehicle? Or to just change where all equipment is grabbed on that vehicle.

I think the game is hardcoded to target specific places on a vehicle. You can theoretically change it this way though using a script:

 

Declare person as caller, vehicle as target

  1. Person moves to vehicle, target on vehicle could be any of the following

    TARGET_ANY,	TARGET_EQUIPMENTDOOR,	TARGET_SHEARSDOOR,	TARGET_PASSENGERDOOR,	TARGET_REARDOOR,	TARGET_FIREHOSE_HOOKUP,	TARGET_ENGINE,	TARGET_EXTINGUISH,	TARGET_ENGINE_EXTINGUISH,	TARGET_DLK_BASKET,	TARGET_LOADUP,	TARGET_DLK_BASKET_BASE,	TARGET_TREATMENT,	TARGET_UNLOAD,	TARGET_ENTRY_WINDOW,	TARGET_INSTALL_FGRB,	TARGET_DLK_EXTINGUISH,	TARGET_FREE_CONNECTOR,	TARGET_RANDOM,
  2. Person does whatever thing you want him to do. Enter car, or get a certain equipment. You can make custom equipment by looking at the code for the LA Mod ballistic shield, traffic cones and flares.
Link to comment
Share on other sites

You would have to give the locker a firehose in the editor.

 

Look at EM4's Oil Rig Mission. The player can take fire hoses from the red boxes on the walls oil rig. Throwing this out as a hint for anyone having difficulty with the mission.

 

Looking at the code, it appears that the getFirehose commands allows for the person caller to get equipment from vehicles and objects. For whatever equipment script you have, you need to set the possible target as vehicle and object.

Link to comment
Share on other sites

You would have to give the locker a firehose in the editor.

 

Look at EM4's Oil Rig Mission. The player can take fire hoses from the red boxes on the walls oil rig. Throwing this out as a hint for anyone having difficulty with the mission.

 

Looking at the code, it appears that the getFirehose commands allows for the person caller to get equipment from vehicles and objects. For whatever equipment script you have, you need to set the possible target as vehicle and object.

Ooo thanks for that, never managed to do that mission ;)

 

That makes it easier for me to set the hoses up, i'm not too bothered about the rest of the equipment, just them. It should work in the same way for the other equipment though.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...