Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 461

Old April 8th, 2023, 08:42 AM
I am trying to write a script that would make an item assign 1 or more copies of a single tag to the hero, the number of copies depending on a chooser set by the user.

Can someone point me to a thing that does something like that?
Lord Magus is offline   #1 Reply With Quote
ploturo
Member
 
Join Date: May 2021
Posts: 84

Old May 26th, 2023, 01:15 PM
Code:
    
    var total as number
    total = 5

    var x as number
    x = 0
    while (x < total)
        x += 1
        perform hero.assign[Classes.S2Gestalt]
    loop

Last edited by ploturo; May 26th, 2023 at 01:17 PM.
ploturo is offline   #2 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 08:32 PM.


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