Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help with intro
Death Icarus Offline
Junior Member

Posts: 19
Threads: 8
Joined: Sep 2011
Reputation: 0
#7
RE: help with intro

ok..so maybe something like this? not really sure


void OnStart()
{
SetLocalVarInt("Var1", 0);
SetEntityPlayerInteractCallback("LockedDoor", "GetQuestDoorLocked");
SetEntityPlayerInteractCallback("Key1", "GetQuestFoundKey");
}

void GetQuestDoorLocked(string& asName, string& asCallback, bool abRemoveOnInteraction)
{
if ("Var1" == 0)
{
AddQuest("DoorLocked", "DoorLocked");
SetLocalVarInt("Var1",1);
}
if ("Var1" ==1)
{
//not really sure what to add here?
}
}

and the same for the key?
02-01-2012, 05:23 PM
Find


Messages In This Thread
help with intro - by Death Icarus - 02-01-2012, 04:19 PM
RE: help with intro - by SilentStriker - 02-01-2012, 04:26 PM
RE: help with intro - by Death Icarus - 02-01-2012, 04:40 PM
RE: help with intro - by SilentStriker - 02-01-2012, 04:49 PM
RE: help with intro - by Death Icarus - 02-01-2012, 05:04 PM
RE: help with intro - by SilentStriker - 02-01-2012, 05:08 PM
RE: help with intro - by Death Icarus - 02-01-2012, 05:23 PM
RE: help with intro - by SilentStriker - 02-01-2012, 06:58 PM
RE: help with intro - by Death Icarus - 02-01-2012, 07:27 PM



Users browsing this thread: 9 Guest(s)