Get your own free workspace
View
 

SetMaxAttribute

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

 

SetMaxAttribute

Usage:

                SetMaxAttribute(Actor, Name, Value)

Description:

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

Example:

                Function Main()
                        MyStrMax = MaxAttribute(Actor(), "Strength")
                        SetMaxAttribute(Actor(), "Strength", MyStrMax + 5)
                        Output(Actor(), "You received a bonus of 5 to maximum strength!")
                        Return()
                End Function

Comments (0)

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