Got a head scratcher.
This is the script for when the player arrives at the destination.
firsttime {
if (GetBoolean(player, "trunkopen")) {
msg ("As the vehicle comes into focus it's clear it's unoccupied, and has been for some time. The passenger door and both rear doors hang open. The hood is off its latch and the trunk is open.<br/><br/>The road here swings to the west. Back to the south the path rises to a crest.")
}
else {
msg ("As the vehicle comes into focus it's clear it's unoccupied, and has been for some time. The passenger door and both rear doors hang open. The hood is off its latch and the trunk is open.<br/><br/>The road here swings to the west. Back to the south the path rises to a crest.")
}
}
otherwise {
if (GetBoolean(player, "trunkopen")) {
msg ("There's a an abandoned car here. The passenger door and both rear doors hang open. The hood is off its latch and the trunk is open..<br/><br/>The road here swings to the west. Back to the south the path rises to a crest.")
}
else {
msg ("There's a an abandoned car here. The passenger door and both rear doors hang open. The hood is off its latch. Trunk is closed tight.<br/><br/>The road here swings to the west. Back to the south the path rises to a crest.")
}
}
If the player doesn't have the flag 'trunkopen' it should give the description saying the 'trunk is closed tight', but I'm getting 'trunk is open' instead. The only place the flag is set, is when the player successfully gain access to the locked trunk.