Get your own free workspace
View
 

SetAttribute

Page history last edited by Gamemaster 3 years, 11 months ago

 

SetAttribute

Usage:

                SetAttribute(Actor, Name, Value)

Description:

The SetAttribute command allows you to change the level of an attribute.

Example:

                Function Main()
                        MyStr = Attribute(Actor(), "Strength")
                        SetAttribute(Actor(), "Strength", MyStr + 5)
                        Output(Actor(), "You received a bonus of 5 strength!")
                        Return()
                End Function

Comments (0)

You don't have permission to comment on this page.