-
January 30th, 2021, 18:50 #11
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,559
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
-
January 30th, 2021, 18:55 #12
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.
-
January 30th, 2021, 19:59 #13
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