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 May 9th, 2014, 08:59 AM
Yeah, I have already checked that page but among many tests and other thing I've been implementing I have missed something.
I would give it another try right now.
Gomo is offline   #31 Reply With Quote
Gomo
Member
 
Join Date: Apr 2014
Posts: 50

Old May 9th, 2014, 10:05 AM
OK, for condition on the equipment I used:
Code:
		if (this.ispick = 1) then
			if (linkage[wprofic].valid  = 1) then
		  @value = linkage[wprofic].field[prRoll].value
		  else
		  		  @value = -2
				  endif
          endif
...and it gives me -2 if there is no proficiency, but I still have got previous errors.
Gomo is offline   #32 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old May 9th, 2014, 10:32 AM
Code:
if (islinkage[wprofic] <> 0) then
  @value = linkage[wprofic].field[prRoll].value
else
  @value = -2
  endif
Mathias is offline   #33 Reply With Quote
Gomo
Member
 
Join Date: Apr 2014
Posts: 50

Old May 9th, 2014, 11:24 AM
Oh thanks!
It is finally working!
I thought linkage[wprofic].valid would have the same functionality, and the right one - just missed it.
Thanks again.
Gomo is offline   #34 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 10:42 PM.


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