I searched and only found one mention of floating with a reply or two so I'm just going to apologize in advance if I missed something.
Is there a way to apply the Flag/Attribute "Floating" and/or "FloatingWhileMoving" through the console or at will in general? I've tried something along the lines of this using the console and wasn't successful.
Code: Select all
local host = Osi.GetHostCharacter(); Osi.AddBoosts(host, "Attribute(Floating);Attribute(FloatingWhileMoving)", "", host)
When looking into Character Stats the attributes show up like this:
Code: Select all
"Flags": "Floating;FloatingWhileMoving"
When looking into Status Stats they show up like this:
Code: Select all
"Boosts": "BlockSpellCast();Attribute(Floating);FallDamageMultiplier(0.0)"
Which is why I tried applying it as a Boost like that.
I've also tried just applying it through
SetFlag(), but that didn't exactly work since I don't have a UUID for it. It's odd that the game refers to it as a Flag at all, but then again it shows up under "AttributeFlags" in the ValueLists file. For the hell of it I've even tried applying it through
AddPassive() and
ApplyStatus().
So I'm going to guess that it's either much more complicated than my current understanding of the game or it's so simple that a caveman could do it and I'm just an idiot.
Any guidance would be appreciated, even if that guidance is telling me to get the hell out because this isn't the place to ask these kinds of questions. Thanks!
Edit - It would maybe help if I explained the "Why?", possibly. I had the crazy idea of trying to create a toggleable ability that would give you Floating and FloatingWhileMoving, but my current method didn't work, so I turned to the console to try a bunch of stuff.