aditional missions, help
Posted: Fri Aug 29, 2014 9:06 am
In missions.lua I am thinking in adding the rank mission in sandy THE_HEIR_TO_THE_LIGHT. If this is absolutely impossible to attempt then this will save me allot of time. I do understand if it is possible to add this, I would then need to add this into the zone lua scripts when undertaking the mission. I wonder what those numbers are, are they IDs? or maybe some sort of dialog link? I am just looking for the right direction, as I am still a novice.
------------------------------------------------------------------------------------------------
if(rank == 9) then
if(player:hasCompletedMission(SANDORIA,BREAKING_BARRIERS) == false and getMissionRankPoints(player,22) == 1) then
-- 9-1
first_mission = first_mission + 4194304;
elseif(player:hasCompletedMission(SANDORIA,BREAKING_BARRIERS) == false and getMissionRankPoints(player,22) == 1 and player:getVar("Cutscenes_8-2") == 2) then
-- 9-2
first_mission = first_mission + 8388608;<---what is this number? is these bytes? That allow to unlock mission?
------------------------------------>>>>>add The_Heir to the light mission
------------------------------------------------------------------------------------------------
if(rank == 9) then
if(player:hasCompletedMission(SANDORIA,BREAKING_BARRIERS) == false and getMissionRankPoints(player,22) == 1) then
-- 9-1
first_mission = first_mission + 4194304;
elseif(player:hasCompletedMission(SANDORIA,BREAKING_BARRIERS) == false and getMissionRankPoints(player,22) == 1 and player:getVar("Cutscenes_8-2") == 2) then
-- 9-2
first_mission = first_mission + 8388608;<---what is this number? is these bytes? That allow to unlock mission?
------------------------------------>>>>>add The_Heir to the light mission