Feat - Object Information

Sections in this file:

Main
Scripting

How to read/modify a feat from a script:

func.GetFeatParam(FeatNum As Integer, ParamName As String)
Returns a parameter (ParamName) from the feat of ID FeatNum

func.SetFeatParam(FeatNum As Integer, ParamName As String, NewValue As Variant)
Sets the feat parameter ParamName to NewValue for the feat FeatNum

Main

Go back to top

Members

ID As Integer 'Feat ID or number
Name As String
Desc As String 'Richtext format description string
ClassAbilityFor As String 'Which class is allowed for class abilities
ClassAbility As Boolean 'If true, this is a class ability
SpecialAbility As Boolean 'If true, this is a special ability
FromCore As Boolean 'Is from the core rules
Deleted As Boolean 'Marked as deleted so that it will not be visible and can be overwritten
'

'-- Scripting Vars, starting with v. 1.19 --
NeedRace As Boolean 'Return the race in cRace?
SpecialUse As Integer '0=Nothing, 1=Attack bonuses, 2=Condition Calc, 3=metamagic; 4=metapsionic
LevelDep As Boolean 'Level-dependant feat
MultipleTimes As Boolean 'Feat can be taken multiple times

Scripting

Go back to top

Members

'--- New v.1.19 ---
'VBScript code for various operations
CodeGet As String
CodeRemove As String
CodeUse As String
CodeStop As String
CodeOther As String
CodeSpecial As String
'New v.2.07 - Resting Script
CodeRest As String



Documentation for DM Genie and Player Genie, page Feat. Copyright © Mad Scientist Studios, 2006.
Help Contents   |   DM Genie home page
Click here if you cannot see the table of contents on the left
>