Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit

Notices

Reply
 
Thread Tools Display Modes
Gomo
Member
 
Join Date: Apr 2014
Posts: 50

Old October 5th, 2014, 01:40 PM
Hello.
I try to set a mechanism which access a field of Minion.
To be specific it is a field which contain current stamina points.
I've managed to retrive values of attributes like this:
Code:
		perform hero.childfound[mtHorse].setfocus
		doneif (state.isfocus = 0)
@text = hero.childfound[mtHorse].minion.child[attrStr].field[trtFinal].value
but I can't acces fields which exist in Actor component of minion.
Is it possible to acces those fields or I have to create an attribute which would get those values ?
Next thing I would do it is to modify those values from Master so probably solution with attribute wouldn't allow me to do this.
Gomo is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old October 5th, 2014, 04:26 PM
Code:
hero.childfound[mtHorse].minion.child[actor].field[Field's Id].value
Mathias is offline   #2 Reply With Quote
Gomo
Member
 
Join Date: Apr 2014
Posts: 50

Old October 6th, 2014, 09:42 AM
Thanks, It works.
Gomo is offline   #3 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:26 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.