I have four different tuft-of-grass sprites, and an actor for each. Here are the first two:
Code: Select all
Actor G_Grass1 20401
{
Radius 8
Height 8
States
{
Spawn:
GRS1 A -1
Stop
}
}
Actor G_Grass2 20402
{
Radius 8
Height 8
States
{
Spawn:
GRS2 A -1
Stop
}
}
Code: Select all
Actor G_Grass 20400
{
Radius 8
Height 8
States
{
Spawn:
GRS1 A 0 A_Jump(256, 1, 2, 3, 4)
GRS1 A -1
GRS2 A -1
GRS3 A -1
GRS4 A -1
Stop
}
}
Using decorate instead of zscript for Slade compat, btw.