Difference between revisions of "Scripting Tutorial: Summoned Creatures"
Scripting Tutorial: Summoned Creatures (edit)
Revision as of 20:14, 12 April 2009
, 20:14, 12 April 2009Minor 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
* 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.
set playonce to 2
endif
| |||