Difference between revisions of "Form Script"

578 bytes added ,  02:47, 30 April 2015
→‎SKSE Member Functions: Should now contain all SKSE functions upto 1.7.2 (Also fixed some syntax errors)
imported>Arocide
m (→‎SKSE Events: Removed Double Pipe)
imported>Arocide
(→‎SKSE Member Functions: Should now contain all SKSE functions upto 1.7.2 (Also fixed some syntax errors))
 
Line 94: Line 94:
:'''Float [[GetWeight - Form|GetWeight]]()'''
:'''Float [[GetWeight - Form|GetWeight]]()'''
:*Returns this form's weight.
:*Returns this form's weight.
:'''[[GetWorldModelPath- Form|GetWorldModelPath]](String ''path'')'''
:*Gets this form's world model.
:'''[[SetWorldModelPath- Form|SetWorldModelPath]](String ''path'')'''
:*Sets this form's world model.


:'''[[SetWeight - Form|SetWeight]](Float ''weight'')'''
:'''[[SetWeight - Form|SetWeight]](Float ''weight'')'''
Line 121: Line 115:
:'''Bool [[IsPlayable - Form|IsPlayable]]()'''
:'''Bool [[IsPlayable - Form|IsPlayable]]()'''
:*Returns if the form is marked playable or not. Only works on forms that have that flag, such as Armors.
:*Returns if the form is marked playable or not. Only works on forms that have that flag, such as Armors.
:'''Bool [[HasWorldModel - Form|HasWorldModel]]()'''
:*Returns whether this form has a world model or not.
:'''String [[GetWorldModelPath - Form|GetWorldModelPath]]()'''
:*Gets this form's world model.
:'''[[SetWorldModelPath - Form|SetWorldModelPath]](String ''path'')'''
:*Sets this form's world model.
:'''Int [[GetWorldModelNumTextureSets - Form|GetWorldModelNumTextureSets]]()'''
:*Returns the number of texture sets the world model has.
:'''TextureSet [[GetWorldModelNthTextureSet - Form|GetWorldModelNthTextureSet]](Int ''n'')'''
:*Returns the Nth texture set of the forms world model.
:'''[[SetWorldModelNthTextureSet - Form|SetWorldModelNthTextureSet]](TextureSet ''nSet'', Int ''n'')'''
:*Sets the Nth texture set of the forms world model to the specified TextureSet.


:'''[[RegisterForKey - Form|RegisterForKey]](Int ''keyCode'')'''
:'''[[RegisterForKey - Form|RegisterForKey]](Int ''keyCode'')'''
Anonymous user