Module commit
Module commit.
This commit is contained in:
15
_module/nss/death_leavebody.nss
Normal file
15
_module/nss/death_leavebody.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
death_leavebody
|
||||
|
||||
OnDeath: Create some blood
|
||||
|
||||
J.D. Robertson, 2002
|
||||
*/
|
||||
void main()
|
||||
{
|
||||
// Create blood
|
||||
object blood = CreateObject(OBJECT_TYPE_PLACEABLE, "plc_bloodstain", GetLocation(OBJECT_SELF));
|
||||
|
||||
// Change the facing of the blood, so every puddle looks different
|
||||
AssignCommand(blood, SetFacing(IntToFloat(Random(360))));
|
||||
}
|
Reference in New Issue
Block a user