accessing a scriptdictionary attribute

so I have in an object an attribute that is a script dictionary. How do I access that script from the dictionary? When I use ScriptDictionaryItem in the game start I get an error:

<start type="script">
ScriptDictionaryItem (player.scriptdictionaryattribute, "reply_one")
// should print "one"
ScriptDictionaryItem (player.scriptdictionaryattribute, "reply_two")
// should print "two"
</start>

Error: Error adding script attribute 'start' to element 'game': Function not found: 'ScriptDictionaryItem'


I have been searching about lately. The details on this site is one of a kind and appreciated and will help my wife and I in our studies twice a week or more. It appears as if this team acquired a significant amount of details concerning the stuff I am interested in and other subjects and types of info like wise show it. I'm usually not on the net most of the time although when I have some time I am always avidly searching for this type of information or stuff closely related to it. When anyone gets a chance, take a look at my site: [url=https://tonopah-homes.com/realtor-in-tonopah-arizona/]Local Real Estate: Homes for Sale in Tonopah, AZ[/url] I have been hoping about. This kind of details here on the network is one of a kind and helpful and is going to assist my kids and I in our studies quite often. It looks like all of the members here acquired a significant amount of expertise concerning this and the other links and types of info really show it. Typically i'm not browsing websites during the day although when I have a drink i'm always looking for this kind of information or stuff similarly related to it. When someone gets a chance, have a look at my site. [url=https://tonopah-homes.com/contact-us/]Local Tonopah, AZ Real Estate Listings and Homes for Sale[/url]


ScriptDictionaryItem returns the script. You need to do something with that script.

You probably want to invoke (run) the script, so you might do:

invoke (ScriptDictionaryItem (player.scriptdictionaryattribute, "reply_one"))

Log in to post a reply.

Support

Forums