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

Invalid declarator?

Recommended Posts

Hi, I am trying to flesh out some code for my yellow armor item. When I try to compile it I get an invalid declarator error.

Here's the peice:

Actor YellowArmor : BasicArmorpickup 4500
{
  inventory.pickupmessage "Picked up the light armor."
  inventory.icon "MHYAB0"
  Armor.Savepercent 33.33333
  Armor.Saveamount 50
  states
  {
  Spawn:
    MHYA A 6
    MHYA B 7 bright
    loop
  }
}
Here's the error:

Line 3 in file "\Downloads\SLumpedEd\ACC\DECORATE.acs" ...
\Downloads\SLumpedEd\ACC\DECORATE.acs:3: Invalid declarator.
> actor
> ^

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
×