STAR TREK 2d20
Page 2 of 2 First 12
  1. #11
    Just a bit of advice, I wouldn't access the .sCreatureNode directly in ActorManager. There is an ActorManager.getCreatureNode(rActor) and ActorManager.getCreatureNodeName(rActor) set of functions for this. It may save you trouble down the line, if anything inside actor "records" change.

    Regards,
    JPG

  2. #12
    Varsuuk's Avatar
    Join Date
    Dec 2015
    Location
    New York
    Posts
    2,075
    Oh cool thank you Moon! I always appreciate your insights

    I borrowed the access method from some other code - now that know will look at it closer because I have only just now started working on CT related things.

  3. #13
    Varsuuk's Avatar
    Join Date
    Dec 2015
    Location
    New York
    Posts
    2,075
    Quote Originally Posted by Moon Wizard View Post
    Just a bit of advice, I wouldn't access the .sCreatureNode directly in ActorManager. There is an ActorManager.getCreatureNode(rActor) and ActorManager.getCreatureNodeName(rActor) set of functions for this. It may save you trouble down the line, if anything inside actor "records" change.

    Regards,
    JPG
    Perfect, now that know that rSource and rTarget are "Actors". or as referenced in CoreRPG "varActor", I get what to do.
    I will also rename my args to indicate they are Actors, source and target to help with my documentation when I come back to it in future.

    Many thanks,
    Dan

Thread Information

Users Browsing this Thread

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

Bookmarks

Posting Permissions

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

Log in

Log in