I have a special spell that is instant cast and cause damage to a random unit in front of the caster at melee range but i have no idea how to detect the facing and position of a unit
Set PointA = Position of Triggering unit
Set Group = Units within 100 of PointA matching Matching unit is alive/an enemy of owner of triggering unit/otherconditions
Pick Every unit in Group and do multiple actions:
-Set PointB = Position of Picked Unit
-Angle from PointA to PointB is Greater than or equal to Facing of Triggering Unit-20
-Angle from PointA to PointB is Less than or equal to Facing of Triggering Unit+20
-call RemoveLocation (udg_PointB)
call DestroyGroup (udg_Group)
call RemoveLocation (udg_PointA)
I wanted to do similar spell. I did it similar to keychup but i got some problem, that when you attack the unit from above (go from above and use spell) then it wont work.
But it works if i go from sides/down
Keep in mind that the game is looking for an angle value, i.e. a real number between 0 and 360. If the facing angle of the triggering unit is less than (for the example) 20, or greater than 340, it may not be able to properly detect the entire damaging area.
For example, say the facing angle of the unit is 355 degrees, and the angle from the casting unit (PointA) to the target (PointB) is 10 degrees. The target should be hit, because the actual difference in angles is only 15 degrees, but it won't detect a hit because 10 isn't between 335 and 375.
To get around this, you can use the modulo function, with (Facing of Triggering Unit + 20) or (Facing of Triggering Unit + 340) as the dividend, and 360 as the divisor.
The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.