Jump to content

Recommended Posts

Posted

I want the box only to give the item to the medic class.

 

In that case simply replace the line after Player.HasPerk..... with MedicGunContainer.Enable where MedicGunContainer is the reference id and it is initially disabled.

Posted

I want the box only to give the item to the medic class.

 

In that case simply replace the line after Player.HasPerk..... with MedicGunContainer.Enable where MedicGunContainer is the reference id and it is initially disabled.

Ah, that solves it! Thanks again!

 

So I have...

 

scn PerkItemScript

 

BEGIN GameMode

If Player.HasPerk TF2Medic

MedicGunContainer.Enable

Player.Additem MedicGun 1

RemoveMe (I added this line myself in order to remove the box)

endif

END

Posted

I want the box only to give the item to the medic class.

 

In that case simply replace the line after Player.HasPerk..... with MedicGunContainer.Enable where MedicGunContainer is the reference id and it is initially disabled.

Ah, that solves it! Thanks again!

 

So I have...

 

scn PerkItemScript

 

BEGIN GameMode

If Player.HasPerk TF2Medic

MedicGunContainer.Enable

Player.Additem MedicGun 1

RemoveMe (I added this line myself in order to remove the box)

endif

END

 

Erm.. I don't see how that will work. But if it works then it doesn't matter.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...