[Logo]
 
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
How to check player class from an artifact?  XML
Forum Index -> UnrealScript, Coding, Mapping, and 3rd party Mods
Author Message
Legendary_Agent

Killing Spree

Joined: 08/21/2006 02:57:13
Messages: 33
Offline

Hello, im trying to make an artifact that can only be used with certain classes, i know this sounds silly because i could make that artifact spawn from an ability but this is justified, when a player picks it up from the ground, i want to let him use it only if he is weapons master for example.

How can i achieve this? again, i want to check this from an artifact not from a rpgability.


something between the lines:

If (Instigator.Data.Abilities == class'ClassWeaponsMaster')

Thanks in advance!
[MSN]
 
Forum Index -> UnrealScript, Coding, Mapping, and 3rd party Mods
Go to: