Suppose I need a script that appears only once when I enter the Trigger and will no longer appear. How can I do it?
I tried to do this with a flag, but I get an error.
Also I do not understand how to work with operations that start on DB_
Tried to consider the basic scripts but I do not understand the very essence.

My sample scripts:
With Flags
Quote
IF
CharacterEnteredTrigger(_Character, EventTrigger_000_c90f0a6b-1e3b-47df-8498-4751a6ba6cb1)
AND
CharacterIsPlayer(_Character, 1)
AND
ObjectGetFlag(_Character, "Once_Intro_Message", 0)
THEN
DisplayText(_Character, "Start")
ObjectSetFlag(_Character, "Once_Intro_Message", 1);



With DB_
INIT
Quote
DB_Once(1);

KB
Quote

IF
CharacterEnteredTrigger(_Character, EventTrigger_000_c90f0a6b-1e3b-47df-8498-4751a6ba6cb1)
AND
CharacterIsPlayer(_Character, 1)
AND
DB_Once(1);
THEN
DisplayText(_Character, "Start")
DB_Once(0);


And tell me What is this DB_? Is it a variable inside the script? Do you need to create it in advance? I did not find any information that describes the principle of work.

Last edited by Defoxx; 29/10/17 11:32 AM.