Jump to content

Script help please


Xenomorph217

Recommended Posts

Ok, can someone tell me a script I could use to make a message display right when the player starts the game? I just need a starting block, a "Begin" block.

Ive already tried something like "Begin OnAdd Player" and it didnt do anything when I started the game...

Link to comment
Share on other sites

OnAdd blocks runs in object scripts attached to an item, and it will trigger when that item is added to an inventory. "BEGIN OnAdd Player" would run only when the item is added to the players inventory.

 

To show a message right at the beginning of the game you would need to use a quest script with a GameMode block. Like this:

 

ScriptName MessageScript

BEGIN GameMode
ShowMessage [someMessage]
StopQuest MessageQuest
END

Attach this script to a quest called MessageQuest and make sure to check the box titled "Start Game Enabled". It will show the message once, and then stop the quest and therefore also the script from running.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...