This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menuundefined symbol: GivenTicket
bool GivenTicket = false;
function cSquirrel_UseInv() //Use the train ticket on the squirrel
{
if (cPlayer.ActiveInventory == iTicket) //If the player uses the ticket on the squirrel then run the following function
{
GivenTicket = true; //Sets the boolean variable to true
dCSquirrelTicket.Start();
}
}
bool GivenTicket = false; //Is this line the problem?
function hTrainDoor_Interact()
{
if (GivenTicket)
{
cPlayer.ChangeRoom(2);
}
else
{
Display ("You must present your ticket to the conductor before proceeding.");
}
}
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.133 seconds with 13 queries.