Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Alex!

I keep getting this error

Recommended Posts

Script error, "Maps.wad:DECORATE" line 16:
Unexpected '.' in definition of 'tiny'
 

Here is my script

 

ACTOR Tiny: PlayerPawn
{
  Speed 1
  Health 75
  Radius 8
  Height 23
  Mass 50
  PainChance 255
  Player.DisplayName "Tiny Sized!"
  Player.CrouchSprite "PLYC"
  Player.StartItem "Pistol"
  Player.StartItem "Crowbar"
  Player.StartItem "Clip", 50
  Player.WeaponSlot 1, Crowbar
  Player.WeaponSlot 2, UZII,Wand,Pistol,
  Player.WeaponSlot 3, Shotgun, SuperShotgun, Drumgun
  Player.WeaponSlot 4, Chaingun,NaziChainGun,FireCrossbow
  Player.WeaponSlot 5, RocketLauncher
  Player.WeaponSlot 6, PlasmaRifle
  Player.WeaponSlot 7, BFG9000
  Player.JumpZ 5
  Player.ViewHeight 23
  States
  {
  Spawn:
    TGUY A -1
    Loop
  See:
    TGUY A 4 
    Loop
  Missile:
    TGUY A 12
    Goto Spawn
  Melee:
    TGUY A 6 BRIGHT
    Goto Missile
  Pain:
    TGUY A 4 
    TGUY A 4 A_Pain
    Goto Spawn
  Death:
    TGUY B 5 A_PlayerSkinCheck("AltSkinDeath")
    TGUY C 5
    TGUY D 5 A_PlayerScream
    TGUY E 5 A_NoBlocking
    TGUY F 5
    TGUY G 5
    TGUY H -1
    Stop
  XDeath:
    TGUY B 5 A_PlayerSkinCheck("AltSkinDeath")
    TGUY C 5
    TGUY D 5 A_PlayerScream
    TGUY E 5 A_NoBlocking
    TGUY F 5
    TGUY G 5
    TGUY H -1
    Stop
  AltSkinDeath:
    TGUY B 5 A_PlayerSkinCheck("AltSkinDeath")
    TGUY C 5
    TGUY D 5 A_PlayerScream
    TGUY E 5 A_NoBlocking
    TGUY F 5
    TGUY G 5
    TGUY H -1
    Stop
  AltSkinXDeath:
    TGUY B 5 A_PlayerSkinCheck("AltSkinDeath")
    TGUY C 5
    TGUY D 5 A_PlayerScream
    TGUY E 5 A_NoBlocking
    TGUY F 5
    TGUY G 5
    TGUY H -1
    Stop
  }
}

Share this post


Link to post

@Alex! you should ask this in the Editing section as someone there will be able to point you in the right direction

Share this post


Link to post
4 hours ago, Alex! said:

Player.WeaponSlot 2, UZII,Wand,Pistol,

here. you may not notice it, but there is a trailing comma. it ruined your day. ;-)

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×