One-time Item Pick Up Message
Overview
Creator:
Twilight Knight
Added: 19 Nov 2020
Tags:
Item
|
View Script |
Information
A simple addition to the Item Pick Up Message script by Joe123, so it's capable of showing an item message only once.
Description Setup Reviews Comments
Import the script and select it as pickup script for an item.
Be sure to also include this line somewhere within your script files: "bool itemsObtained[50];"
You need to provide 2 arguments:
Be sure to also include this line somewhere within your script files: "bool itemsObtained[50];"
You need to provide 2 arguments:
- The string ID of the message to play
- The type of item (optional)
- If you omit the type, the string will always play.
- If you set the type to 1 f.e., the string will only play once when first obtaining this type
- If you set the same type to multiple items, the string will only play once when first obtaining one of this type, though they are different items
- If there are more than 99 types, you should increase the array length of itemsObtained by changing the number in between the [brackets]