Hello rjshae
Here is a script fromp 16 Cygni that may look like what you want :
// player examines the sign near the fortress, advances journal
const string sQuest = "q_buzundush";
void main()
{
object oPC = GetFirstPC();
object oSign = OBJECT_SELF;
int n;
if (!GetLocalInt(oSign, "Clue")) // not seen yet
{
SetLocalInt(oSign, "Clue", 1);
n = GetJournalEntry(sQuest, oPC);
if (n<30) n = 30; // if first clue
if ((!GetGlobalInt("FR"))&&(n == 80)) n = 90; // test language when last clue found
AddJournalQuestEntry(sQuest, n+10, oPC);
}
DelayCommand(0.1f, AssignCommand(oPC, ActionExamine(oSign)));
}
Properties of the placable :
- Default action : Auto
- the script is attached to the OnUse and to the OnLeftClick events
- A local int variable "Clue" is attached to the placable.
The first time the player uses or left clicks the placable :
- the journal is updated (you can put any other treatment, of course)
- the local variable "Clue" is set to 1
- the description is displayed (ActrionExamine)
The next times the player uses or left clicks the placable only the description is displayed.