Difference between revisions of "User talk:Ashileedo"
Jump to navigation
Jump to search
→disable
imported>TheImperialDragon (global script? →disable) |
imported>Omzy |
||
Line 79: | Line 79: | ||
::::::Why not just use a global script to randomly add the spell (a paralysis ability) on the player, then after three or however many seconds later, the script removes the ability. Maybe have the script check every game hour, have a one in ten odds every hour or something like that. [[User:TheImperialDragon|TheImperialDragon]] 18:58, 7 June 2006 (EDT) | ::::::Why not just use a global script to randomly add the spell (a paralysis ability) on the player, then after three or however many seconds later, the script removes the ability. Maybe have the script check every game hour, have a one in ten odds every hour or something like that. [[User:TheImperialDragon|TheImperialDragon]] 18:58, 7 June 2006 (EDT) | ||
:::::::[[Omzy]] | |||
I created a new object with no .NIF (mesh for graphic so it is invisible) and made a script for this object that calls the spells I want casted on the player. In my quest, I set a variable to trigger the object's trap on the player. The following object script works: <pre> | |||
ScriptName VoduniusNucciusCurseObjectScript | |||
Begin OnLoad | |||
if VoduniusNucciusQuest.curse == 1 | |||
Cast VoduniusNucciusDwemerCurse Player | |||
PlaySound VoduniusNucciusCurseSound | |||
Set VoduniusNucciusQuest.curse to 0 | |||
Disable | |||
endif | |||
End | |||
</pre> | |||
==Ref.(Owner)Id== | ==Ref.(Owner)Id== |