Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
frumple
Senior Member
 
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

Old September 24th, 2014, 07:01 AM
Is there a way to check when a thing that can replace another thing is doing the replacing.

I want to run a script that only runs on the thing being replaced. Basically the script is a conversion that maps the fields of the old thing into the same or different fields of the new thing. I just want to make sure that if we are not replacing a thing (in other words the new thing is bootstrapped directly), that this conversion script is not run on it.
frumple is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,215

Old September 24th, 2014, 08:44 AM
frumple, the authoring kit forum is for creating new game systems from scratch - if it's your own game system, entirely under your control, you can easily avoid needing to use replacements by using different versions of something under different sources, so I'm guessing this belongs in another forum.

What in-game rule are you trying to implement here? If I can understand what you're trying to accomplish, I can figure out a better way to handle it.
Mathias is offline   #2 Reply With Quote
frumple
Senior Member
 
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

Old September 24th, 2014, 09:52 AM
Oops you are right, it belongs somewhere else. Sorry about that.

I am trying to implement a version of a universal ability that handles things a bit different from what is supplied. Basically I want to make sure that a script only operates on the data from the replaced thing, not the thing doing the replacing, so I can map the data between the two.
frumple is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,215

Old September 24th, 2014, 10:09 AM
If you've set up a replacement, then that replacement will be applied. Always.
Mathias is offline   #4 Reply With Quote
Reply


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:50 PM.


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