Difference between revisions of "Scripting Tutorial: Summoned Creatures"

m
Minor change in the script(Make it more like an Oblivion Style Summon) and changed aggression from zero to five(reasoning mentioned next to the change)
imported>Qazaaq
m (added internal links, and standardized formatting)
imported>Chaptmc
m (Minor change in the script(Make it more like an Oblivion Style Summon) and changed aggression from zero to five(reasoning mentioned next to the change))
[[Image:AIMenu01.jpg|568px|AIMenu01.jpg]]
 
* Set the “'''Aggression'''” to zerofive(so if a friend of the creature or the creature itself is attacked, it will attack the posing threat) and delete any existing packages by selecting them in the list and pressing delete.
* Open the '''Character->Packages''' menu and drag either the “'''''FollowPlayer'''''” package, or a custom one made in step 2 into the AI menu.
* Click '''Save''' to close the menu. You can also close the '''Packages''' menu.
if timer > 30 ;Creature is dead and fade timer passed
;Move our creature back to it's holding cell
SUMN.kill
SUMN.moveto CreatureCageREF 0 0 10
;Reset our creature if dead
if timer > 28 && playonce == 1
;Play effect for creature exit/death
SUMN.pms effectSummonMythicDawn 2kill
set playonce to 2
endif
Anonymous user