Announcement

Collapse
No announcement yet.

Won't compile in Ut2004. Know why??

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Won't compile in Ut2004. Know why??

    function ModifyPlayer(Pawn Other)
    {
    local xPawn x; //x is a variable
    x = xPawn(Other);
    if (x != None)
    {
    x.MaxMultiJump = MultiJumpCount;
    x.MultiJumpBoost = MultiJumpBoost;
    x.Health = StartingHealth;
    x.HealthMax = MaximumHealth
    x.SuperHealthMax = MaximumSuperHealth
    }
    }

    If anything I try to compile under UT2004 declares; local xPawn x;....I get "Error unrecognized type 'xPawn' "..Does anyone know why. Is there a different way you would do this in UT2004.

    #2
    did you remove xGame from the EditPackages list?

    Comment


      #3
      did you add the EditPackages entry ABOVE the existing ones? it should be BENEATH them.

      Comment


        #4
        Yes I put it at the top. Why is it that the simplest things, drive you the most insane. Thanks.

        Comment

        Working...
        X