Jump to content
Sign in to follow this  
Vlan

Short script question

Recommended Posts

Hello there,

 short question about how the game processes a script:

Example:

Quote

IF
    Global("O#QuentinRE1","GLOBAL",1)
    OR(4)
        Time(20)
        Time(21)
        Time(22)
        Time(23)
THEN
    RESPONSE #100
        Activate("O#Quent")
        Continue()
END

If the Global Global("O#QuentinRE1","GLOBAL",1) is 1 and if the time of the day is 20,21,22 or 23, does the area script constantly tries to Activate the creature in the script, or does the "Activate(Object)" variable sets a hidden value so that the script does only run once, until another script might deactivate (not shown here) him again?

Share this post


Link to post
Posted (edited)

the script runs constantly if all triggers return true. In this case you can use !IsActive("O#QuentinRE1") trigger.

Edited by K4thos

Share this post


Link to post
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...