Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Needs to be placed in GameMaster module init
- this addEventHandler ["CuratorObjectPlaced", {
- params ["_curator", "_entity"];
- _chem = createVehicle ["chemlight_blue", position _entity, [], 0, "NONE"];
- _chem attachto [_entity,[0,-0.03,0.07],"leftshoulder"];
- _unit setVariable ["hasChem", true];
- _unit addEventHandler ["Killed", {
- params [];
- detach _chem;
- }];
- }];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement