Difference between revisions of "Template:Function"

Jump to navigation Jump to search
440 bytes added ,  01:11, 6 August 2010
no edit summary
imported>DragoonWraith
imported>DragoonWraith
Line 29: Line 29:


<pre>{{Function
<pre>{{Function
  |origin = CS1
  |origin = OBSE
  |summary = Plays the visuals of the specified Magic Effect on the calling reference.
  |summary = Sets the constant effect barter factor of the magic effect.
  |name = PlayMagicEffectVisuals
  |name = SetMagicEffectBarterFactor
  |alias = pme
  |alias = SetMEBarterFactor
|altName = SetMagicEffectBarterFactorC
|altAlias = SetMEBarterFactorC
  |returnVal = nothing
  |returnVal = nothing
  |returnType = void
  |returnType = void
|referenceType = [Actor, Activator]
  |arguments =  
  |arguments =  
   {{FunctionArgument
   {{FunctionArgument
   |Name = mgefID
   |Name = newBarterFactor
   |Type = ref
   |Type = float
   }}{{FunctionArgument
   }}{{FunctionArgument
   |Name = duration
   |Name = effect
   |Type = short
   |Type = chars
  |Optional = y
   }}
   }}
  |example = PlayMagicEffectVisuals FIDG
|altArgs =
  pme FTHR 10
  {{FunctionArgument
  |Name = newBarterFactor
  |Type = float
  }}{{FunctionArgument
  |Name = effectCode
  |Type = long
  }}
  |example = SetMagicEffectBarterFactor 5 FIDG
  SetMEBarterFactorC 1.5 1397247044 ; code for SHLD
}}</pre>
}}</pre>


Line 52: Line 60:


{{Function
{{Function
  |origin = CS1
  |origin = OBSE
  |summary = Plays the visuals of the specified Magic Effect on the calling reference.
  |summary = Sets the constant effect barter factor of the magic effect.
  |name = PlayMagicEffectVisuals
  |name = SetMagicEffectBarterFactor
  |alias = pme
  |alias = SetMEBarterFactor
|altName = SetMagicEffectBarterFactorC
|altAlias = SetMEBarterFactorC
  |returnVal = nothing
  |returnVal = nothing
  |returnType = void
  |returnType = void
|referenceType = [Actor, Activator]
  |arguments =  
  |arguments =  
   {{FunctionArgument
   {{FunctionArgument
   |Name = mgefID
   |Name = newBarterFactor
   |Type = ref
   |Type = float
  }}{{FunctionArgument
  |Name = effect
  |Type = chars
  }}
|altArgs =
  {{FunctionArgument
  |Name = newBarterFactor
  |Type = float
   }}{{FunctionArgument
   }}{{FunctionArgument
   |Name = duration
   |Name = effectCode
   |Type = short
   |Type = long
  |Optional = y
   }}
   }}
  |example = PlayMagicEffectVisuals FIDG
  |example = SetMagicEffectBarterFactor 5 FIDG
  pme FTHR 10
  SetMEBarterFactorC 1.5 1397247044 ; code for SHLD
}}
}}


Navigation menu