Thread: What do you key in for <loc>?
-
December 30th, 2022, 09:14 #1
- Join Date
- Dec 2022
- Posts
- 25
What do you key in for <loc>?
More specifically I am looking to set up an effect for Persistent
PERSISTENT: # <dmg>, <loc>
So I tried the following this thinking I can change the number and location on the fly to suit the amount of damage and location:
Persistent Damage; PERSISTENT 3, Head - This randomizes the location the damage is applied to
Persistent Damage; PERSISTENT 3, HEAD - This also randomizes the location the damage is applied to
Not sure what I'm doing wrong and the syntax is not on the wiki page that I can find.
-
December 30th, 2022, 14:25 #2
I would suggest you check out the wiki as it does break down quite a bit.
https://fantasygroundsunity.atlassia...0+Base+Effects
From the wiki, the default structure for that effect is:
PERSISTENT: # <dmg>, <loc>
What you displayed is not correct and would say try it with this structure and see if that helps do what you are trying to accomplish.Dominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Idea Informer
-
December 30th, 2022, 18:28 #3
- Join Date
- Dec 2022
- Posts
- 25
Sorry! I actually typed it wrong here what I have is
Persistent Damage; PERSISTENT 3: Head - This randomizes the location the damage is applied to
Persistent Damage; PERSISTENT 3: HEAD - This also randomizes the location the damage is applied to
I had accidentally typed a , here instead of : fixing that it looks like my structure is right but what is the syntax for the body part? Either all caps or written normally it applies the persistent effect but does not seem to recognize the location.Last edited by JediScoundrel; December 30th, 2022 at 18:31.
-
December 30th, 2022, 18:49 #4
PERSISTENT: # <dmg>, <loc>
PERSISTENT: 3 physical, head would be an exampleDominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Idea Informer
-
December 30th, 2022, 19:39 #5
- Join Date
- Dec 2022
- Posts
- 25
Thank you! I did use that exact example to see if it would fix it but unfortunately it still is choosing a random location. I'm doing some combat practice but as you can see Johnny Black, our current victim, is suffering from that effect but it has chosen first his right arm, then his left.
persistent.png
-
December 30th, 2022, 20:14 #6
You are correct. I double checked the code and it was not passing the location in the effect to the damage code. I am currently on vacation, but will try and get this in by the next weekly update or the next.
Dominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Idea Informer
-
December 30th, 2022, 22:03 #7
- Join Date
- Dec 2022
- Posts
- 25
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks