• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Checking for replacement

frumple

Well-known member
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, 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.
 
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.
 
Back
Top