size values
these lines work just fine
perform hero.findchild[BaseRace].tagreplace[RaceSize.?,RaceSize.Medium0] perform hero.findchild[BaseRace].tagreplace[RaceSize.?,RaceSize.Large1] perform hero.findchild[BaseRace].tagreplace[RaceSize.?,RaceSize.Huge2] however perform hero.findchild[BaseRace].tagreplace[RaceSize.?,RaceSize.Small-1] does not work. i'm guessing its because it sees the - as an operator and how would i change the hit points from lets say 35 (any value) to 5 i have tried herofield[tHP].value =5, but that does not seem to work |
ok found it!!
perform hero.findchild[BaseRace].tagreplace[RaceSize.?,RaceSize.Small11] perform hero.findchild[BaseRace].tagreplace[RaceSize.?,RaceSize.Tiny12] still struggling with the Hit point thing though this is for adding druid shapes as activated abilities. I got everything to change except the hp points, so essentially it works |
Quote:
Code:
herofield[tHP].value -= 5 Code:
herofield[tHP].value = 5 - herofield[tHP].value |
hmmm neither of those worked, however :)
I was inspired I came up with this var minuses as number minuses = herofield[tHP].value - 5 herofield[tHP].value -= minuses applied to final phase and it changed the current hit points to 5, which works for my purposes if your a mastiff you take 5 HP you revert back to your original form w00t |
|
Quote:
Trying to mess with HP require a very specific timing. |
All times are GMT -8. The time now is 11:17 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.