// ms_spawn_resize
/*
This script resizes the owner by a small amount. It
can be passed as part of a creature spawn script by
setting the "SpawnScript" variable to the script name.
*/
// 25apr12 RJH
void main()
{
float fSize = 0.82 + (0.02 * d8(2)); // 0.88-1.14
float fX = fSize * ( 0.82 + (0.02 * d8(2)) );
float fY = fSize * ( 0.82 + (0.02 * d8(2)) );
float fZ = fSize * ( 0.82 + (0.02 * d8(2)) );
SetScale( OBJECT_SELF, fX, fY, fZ );
}
One thing I didn't like on SoZ was the cookie-cutter nature of the OM encounters. Adding variety like this may serve to give it a little more realism.
Modifié par rjshae, 20 juin 2012 - 07:13 .





Retour en haut







