Latest topics
» Omg this server with the website is still alive :oby VK.Angel.OfDeath Yesterday at 5:35 pm
» [Solved] Help & Support
by VK.Angel.OfDeath Thu Oct 24, 2024 7:02 pm
» [Solved] reset password
by VK.Angel.OfDeath Thu Oct 24, 2024 6:58 pm
» [Accepted] Report - Abanoub^
by VK.Angel.OfDeath Thu Oct 24, 2024 6:42 pm
» [Accepted] Unban appeal - hasan
by D4rKR420R Fri Oct 18, 2024 10:06 pm
» [Solved] Report - BelondiOscar
by SJIsNotHere Fri Oct 11, 2024 1:21 pm
» [Solved] Geogeo - Stats Transfer
by SJIsNotHere Tue Oct 01, 2024 5:50 pm
» [Solved] Kindly Re-solve it
by SJIsNotHere Wed Sep 25, 2024 9:55 am
» [Solved] Geogeo - Stats Transfer
by SJIsNotHere Wed Sep 25, 2024 8:10 am
» Matija_Todorovic returns after 3 years of absence
by UmaR Sun Sep 01, 2024 5:55 am
» [Solved] Signature^-Stats transfer
by UmaR Wed Aug 21, 2024 2:38 pm
» [Denied] Admin Application - MK14
by UmaR Fri Aug 16, 2024 8:44 pm
» [Solved] Reset my password pls
by VK.Angel.OfDeath Wed Aug 14, 2024 6:44 am
» Old member back from the dead
by Neptune Mon Aug 12, 2024 9:39 pm
» Vice War X Gameplay | BadDiamondArtz VCMP
by UmaR Thu Jul 18, 2024 10:00 am
» [Solved] RESET PASSWORD
by UmaR Fri Jul 12, 2024 3:29 pm
» [Solved]Transfer Application - Hazard
by SJIsNotHere Wed Jul 03, 2024 10:56 am
» DARKRAZOR RESPONDE MI MENSAJE!!!
by Veterano789 Wed Jul 03, 2024 1:59 am
» Vice War X: The Starfish Showdown
by =FF=B00M_B00M^ Thu Jun 27, 2024 6:17 pm
» Fatal Force - F2
by Mr.Moon Wed Jun 26, 2024 7:18 am
» Stat Transfer Application - SuFyastiC
by D4rKR420R Tue Jun 04, 2024 10:07 pm
» [Accepted] Unban Appeal
by VK.Angel.OfDeath Sun Mar 31, 2024 8:29 am
» [Solved] Password Reset
by VK.Angel.OfDeath Sat Mar 23, 2024 9:32 pm
» Ramadan Mubarak in Advance
by Shafin Sat Mar 23, 2024 1:52 pm
» Illegal Immigration | Old Memories | 2017
by ilemius Fri Feb 09, 2024 5:25 pm
» VKs and VCMP Previews
by SJIsNotHere Sat Jan 20, 2024 1:51 pm
» The Resurgence 4th Year of Anniversary!
by Ninja Tue Jan 16, 2024 10:30 am
» [Solved]Stats Transfer application - Shado[W]^
by SJIsNotHere Mon Nov 27, 2023 5:06 pm
» Hi to all my good friends
by VK.Angel.OfDeath Sat Nov 18, 2023 9:04 am
» [Closed] Admin Application - F2.Ninja
by VK.Angel.OfDeath Sat Nov 18, 2023 8:49 am
Top posters
ЧК. (8555) | ||||
VK.Angel.OfDeath (6467) | ||||
=SdS=KrlozZ... (6433) | ||||
D4rKR420R (5473) | ||||
=KF=Thunder^ (5405) | ||||
Pavonis (5197) | ||||
SJIsNotHere (4432) | ||||
Emma (4261) | ||||
Vipe[R] (3756) | ||||
47. (3705) |
Statistics
We have 1978 registered usersThe newest registered user is kodaklyve
Our users have posted a total of 217908 messages in 16831 subjects
Most Viewed Topics
[Guide] How to make a simple job [1 Job per day]
VKs Official Server :: Server Information :: Server information :: Official Tutorials :: Property Variables
Page 1 of 1
[Guide] How to make a simple job [1 Job per day]
Guide
This guide will cover how to make a simple job. You can do one per day!
Setup
1. /setpropstats on and /setpropstatssave on for your property.
2. /saveprop
3. Rejoin your property completely.
Step 1 - Start pickup for each mission
Make one /addtriggerpickup2 for each mission with the pickups you want. An example you can add more:
Mission 1
Mission 2
Mission 3
Step 2 - Start pickup condition
var_temp2 is set in later steps when completing a job. But it will be 0 if you haven't completed your jobs of the day.
Step 3 - Error messages & Job Time check
Step 4 - Combine the start pickups into one
Put together the /addtriggerpickup2 from step 3 and the mission starter /addtriggerpickup2 indexes into an /addtriggerpickup3.
Step 5 - Completing the stage
For each mission make one of these.
Step 6 - Reset on final job
If you want completing the final mission to cause the player to restart from the first job:
If you don't want the job to reset skip this.
Step 7 - Testing your job
Create and enter the following pickups to either reset your job or your job time so you don't have to wait 24 hours while testing:
This guide will cover how to make a simple job. You can do one per day!
Setup
1. /setpropstats on and /setpropstatssave on for your property.
2. /saveprop
3. Rejoin your property completely.
Step 1 - Start pickup for each mission
Make one /addtriggerpickup2 for each mission with the pickups you want. An example you can add more:
Mission 1
- Code:
/addmsgpickup You started mission 1
/addtelepickup <Start location for your first mission>
/addtriggerpickup2 <List of all mission 1 pickups>
Mission 2
- Code:
/addmsgpickup You started mission 2
/addtelepickup <Start location for your second mission>
/addtriggerpickup2 <List of all mission 2 pickups>
Mission 3
- Code:
/addmsgpickup You started mission 2
/addtelepickup <Start location for your third mission>
/addtriggerpickup2 <List of all mission 3 pickups>
Step 2 - Start pickup condition
- Code:
/changepickupcondition <Mission 1 trigger pickup index> var_saved_mission == NO_VALUE OR var_saved_mission == 0 AND var_temp2 <= 0
/changepickupcondition <Mission 2 trigger pickup index> var_saved_mission == 1 AND var_temp2 <= 0
/changepickupcondition <Mission 3 trigger pickup index> var_saved_mission == 2 AND var_temp2 <= 0
var_temp2 is set in later steps when completing a job. But it will be 0 if you haven't completed your jobs of the day.
Step 3 - Error messages & Job Time check
- Code:
/addplayervariablepickup var_temp $sub@server_time/var_saved_time$
/addplayervariablepickup var_temp2 $sub@86400/var_temp$
/addmsgpickup2 [#FF0000]Error:[#FFFFFF] You have completed all jobs of the day! Time left until day reset: $time_daily_job@var_saved_time$
/changepickupcondition <Message Pickup ID> var_temp2 > 0
/addtriggerpickup2 <All pickup index in step 3>
Step 4 - Combine the start pickups into one
Put together the /addtriggerpickup2 from step 3 and the mission starter /addtriggerpickup2 indexes into an /addtriggerpickup3.
- Code:
/addtriggerpickup3 </addtriggerpickup2 index from step 3> <All mission /addtriggerpickup2 indexes so far>
Step 5 - Completing the stage
For each mission make one of these.
- Code:
/addchangeplayervarpickup var_saved_mission 1
/addplayervariablepickup var_saved_time $server_time$
/addmsgpickup Job completed
/addtriggerpickup <List of pickup Index Above in step 5>
Step 6 - Reset on final job
If you want completing the final mission to cause the player to restart from the first job:
- Code:
/addchangeplayervarpickup var_saved_mission 0
/addplayervariablepickup var_saved_time $server_time$
/addmsgpickup All jobs completed. Next you will restart from mission 1.
/addtriggerpickup <List of pickup Index Above in step 5>
If you don't want the job to reset skip this.
Step 7 - Testing your job
Create and enter the following pickups to either reset your job or your job time so you don't have to wait 24 hours while testing:
- Code:
/addplayervariablepickup var_saved_time $sub@server_time/86400$
/addplayervariablepickup var_saved_mission 0
VK.Angel.OfDeath- Server Owner & Forum Admin
- Chuck NorrisedYou been norrised.
- Posts : 6467
Points : 9324
Reputation : 127
Join date : 2012-10-28
Age : 30
Location : Sweden
Similar topics
» [Guide] Make a blinking /addlabel
» [Guide] How to make a map selection system
» [Guide] How to make /p explode in properties
» [Guide] How to make an object that only moves to one position always!
» [Closed] Make legal using Minigun in BOD & make ammunation levels easier
» [Guide] How to make a map selection system
» [Guide] How to make /p explode in properties
» [Guide] How to make an object that only moves to one position always!
» [Closed] Make legal using Minigun in BOD & make ammunation levels easier
VKs Official Server :: Server Information :: Server information :: Official Tutorials :: Property Variables
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum