Difference between revisions of "CS Functions"

325 bytes added ,  15:39, 17 June 2011
m
extraneous erroneous apostrophe
imported>KyleWollaston
imported>NFITC1
m (extraneous erroneous apostrophe)
 
(9 intermediate revisions by 2 users not shown)
Line 44: Line 44:
|CS || [[CanPayCrimeGold]] || Returns 1 if actor can pay crime gold, 0 if not.
|CS || [[CanPayCrimeGold]] || Returns 1 if actor can pay crime gold, 0 if not.
|-
|-
|CS || [[Cast]] ||  
|CS || [[Cast]] || The optional object will cast the spell you specify on the object.
|-
|-
|CS 1.2 || [[ClearOwnership]] || Removes all ownership to the item in question.
|CS 1.2 || [[ClearOwnership]] || Removes all ownership to the item in question.
Line 54: Line 54:
|CS || [[CompleteQuest]] || Completes quest.
|CS || [[CompleteQuest]] || Completes quest.
|-
|-
|CS || [[CreateFullActorCopy]] ||  
|CS || [[CreateFullActorCopy]] || Creates a copy of the specified actor with the actor's inventory and AI.
|}
|}


Line 64: Line 64:
!align=left|Description - [[#A|A]][[#B|B]][[#C|C]][[#D|D]][[#E|E]][[#F|F]][[#G|G]][[#H|H]][[#I|I]][[#J|J]][[#K|K]][[#L|L]][[#M|M]][[#N|N]][[#O|O]][[#P|P]][[#Q|Q]][[#R|R]][[#S|S]][[#T|T]][[#U|U]][[#V|V]][[#W|W]][[#X|X]][[#Y|Y]][[#Z|Z]]
!align=left|Description - [[#A|A]][[#B|B]][[#C|C]][[#D|D]][[#E|E]][[#F|F]][[#G|G]][[#H|H]][[#I|I]][[#J|J]][[#K|K]][[#L|L]][[#M|M]][[#N|N]][[#O|O]][[#P|P]][[#Q|Q]][[#R|R]][[#S|S]][[#T|T]][[#U|U]][[#V|V]][[#W|W]][[#X|X]][[#Y|Y]][[#Z|Z]]
|-
|-
|CS || [[DeleteFullActorCopy]] ||  
|CS || [[DeleteFullActorCopy]] || Deletes a copy created via the [[CreateFullActorCopy]] function.
|-
|-
|CS || [[Disable]] ||  
|CS || [[Disable]] || Disables the specified reference.
|-
|-
|CS || [[DisableLinkedPathPoints]] ||  
|CS || [[DisableLinkedPathPoints]] || Disables all path points linked to the reference.
|-
|-
|CS || [[DisablePlayerControls]] ||  
|CS || [[DisablePlayerControls]] || Disables player controls except looking around.
|-
|-
|CS || [[Dispel]] ||  
|CS || [[Dispel]] || Removes the specified spell from the reference. It acts as a return in spell scripts.
|-
|-
|CS || [[DispelAllSpells]] ||  
|CS || [[DispelAllSpells]] || Removes all current spells/magic that are effecting an actor.
|-
|-
|CS || [[Drop]] ||  
|CS || [[Drop]] ||  
Line 80: Line 80:
|CS || [[DropMe]] ||  
|CS || [[DropMe]] ||  
|-
|-
|CS || [[DuplicateAllItems]] ||  
|CS || [[DuplicateAllItems]] || Duplicates all items from the reference to the container specified.
|-
|-
|CS || [[DuplicateNPCStats]] ||  
|CS || [[DuplicateNPCStats]] ||  
Line 569: Line 569:
|-
|-
|CS || [[MoveToMarker]] ||  
|CS || [[MoveToMarker]] ||  
|}
===N===
{| width=100% class=functionTable
|-
!align=left width=10%|Source
!align=left width=35%|Function
!align=left|Description - [[#A|A]][[#B|B]][[#C|C]][[#D|D]][[#E|E]][[#F|F]][[#G|G]][[#H|H]][[#I|I]][[#J|J]][[#K|K]][[#L|L]][[#M|M]][[#N|N]][[#O|O]][[#P|P]][[#Q|Q]][[#R|R]][[#S|S]][[#T|T]][[#U|U]][[#V|V]][[#W|W]][[#X|X]][[#Y|Y]][[#Z|Z]]
|-
|CS || [[NameIncludes]] ||
|}
|}


Line 892: Line 882:
!align=left|Description - [[#A|A]][[#B|B]][[#C|C]][[#D|D]][[#E|E]][[#F|F]][[#G|G]][[#H|H]][[#I|I]][[#J|J]][[#K|K]][[#L|L]][[#M|M]][[#N|N]][[#O|O]][[#P|P]][[#Q|Q]][[#R|R]][[#S|S]][[#T|T]][[#U|U]][[#V|V]][[#W|W]][[#X|X]][[#Y|Y]][[#Z|Z]]
!align=left|Description - [[#A|A]][[#B|B]][[#C|C]][[#D|D]][[#E|E]][[#F|F]][[#G|G]][[#H|H]][[#I|I]][[#J|J]][[#K|K]][[#L|L]][[#M|M]][[#N|N]][[#O|O]][[#P|P]][[#Q|Q]][[#R|R]][[#S|S]][[#T|T]][[#U|U]][[#V|V]][[#W|W]][[#X|X]][[#Y|Y]][[#Z|Z]]
|-
|-
|CS || [[Yield]] ||  
|CS || [[Yield]] || Forces the actor to yield to its current target. If their disposition towards the enemy is lower than the actor's aggression they will start combat again.
|}
|}


[[Category:Scripting]]
[[Category:Scripting]]
Anonymous user