Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- This is my little camping script haha just for fun. All you need is knowledge on Global Variables and a marker call "Camping_Zone". Nothing special but why not ay.
- */
- /*
- ---------------
- Author: Veticus;
- ---------------
- Script: Camping.sqf;
- ---------------
- */
- DL_Camping_CampStart = {
- private ["_CampingZone", "_Fireplace"];
- _CampingZone = getMarkerPos "Camping_Zone";
- if (player distance _CampingZone < 50) then {
- _Fireplace = "Campfire_burning_F" createVehicle (getPos player);
- if (player distance _FirePlace <= 7) then {
- _Fireplace addAction ["Remove Fireplace", {[] call DL_Camping_CampEnd;}, "true"];
- };
- };
- };
- DL_Camping_CampEnd = {
- private ["_FirePlaceSelect"];
- _FirePlaceSelect = nearestObject [(getPos player), "Campfire_burning_F"];
- if (alive player) then {
- deleteVehicle _FirePlaceSelect;
- removeAllActions player;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement