[SOLVED]WARNING: Beginning DECORATEer. BulletPuff unexpected token?
Posted: Sat Jun 13, 2015 3:02 pm
Hello! I am just starting off in DECORATE, and am following an old tut from gun labs. Anyways, here is my basic script to create a custom gun:
ACTOR AutoLoadedShotty : Weapon
{
Inventory.PickupMessage "You snagged the Auto Loaded Shotgun. This thing is trippy..."
Weapon.AmmoType "Shell"
Weapon.AmmoUse 2
Weapon.SlotNumber 3
+ Weapon.NoAlert
States
{
Ready:
SHTG B 1 A_WeaponReady
Loop
Select:
SHTG A 1 A_Raise
Loop
Deselect:
SHTG A 1 A_Lower
Loop
Fire:
SHTG A 7 A_FireBullets (5.5, 6, 8, "BulletPuff", 1)
Goto Ready
}
}
Like I said, very basic. Though, this should be a working script, it raises an error on the BulletPuff ACTOR. No clue why, my script is indistinguishable from the tutors, but it won't seem to work. Any help?[/color]
ACTOR AutoLoadedShotty : Weapon
{
Inventory.PickupMessage "You snagged the Auto Loaded Shotgun. This thing is trippy..."
Weapon.AmmoType "Shell"
Weapon.AmmoUse 2
Weapon.SlotNumber 3
+ Weapon.NoAlert
States
{
Ready:
SHTG B 1 A_WeaponReady
Loop
Select:
SHTG A 1 A_Raise
Loop
Deselect:
SHTG A 1 A_Lower
Loop
Fire:
SHTG A 7 A_FireBullets (5.5, 6, 8, "BulletPuff", 1)
Goto Ready
}
}
Like I said, very basic. Though, this should be a working script, it raises an error on the BulletPuff ACTOR. No clue why, my script is indistinguishable from the tutors, but it won't seem to work. Any help?[/color]