Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Savage Worlds
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Gumbytie
Senior Member
 
Join Date: Jun 2010
Location: Florida
Posts: 235

Old August 16th, 2023, 02:30 PM
So I want to track Swim Speed to Pace.

Traits/5000

Code:
var swim as number
swim = hero.child[trPace].value
if (#resmax[resLoadLim] < hero.child[resEncumb].field[resSpent].value) then
swim -= 2
endif
hero.child[trPace].field[trtSpecial].value = swim
If I assign a number to the swim variable works just fine. But I want the swim speed to equal the character's current Pace. The above gives me an error regarding the [trPace], so I am obviously calling that with the wrong syntax. Any suggestions?
Gumbytie is offline   #1 Reply With Quote
 


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 09:44 PM.


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