Results 1 to 2 of 2

Thread: Reflection Help

  1. #1
    Join Date
    Feb 2009
    Posts
    1,447
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Reflection Help

    I am wondering how to use this fuction:

    FindFreeNPC(TheVar: Variant; var NPC: TNPC): Boolean;

    Im trying to attack a cow by the way.

  2. #2
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Declare a variable that is of the type TNPC then do something like: FindFreeNPC('Cow', varName); where varName is the name of the variable you made.
    :-)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •