ID:2353786
![]() Mar 16 2018, 10:16 am (Edited on Mar 16 2018, 10:22 am)
|
|
Ok so, for context, I use objects as overlays often on several games. But, for some reason on one of my games, its no longer flicking the objects in question as overlays. Like, when I press attack, it doesn't flick them to the attack state, they just remain the same but the user still attacks. I wasn't sure whether or not to put this in dev help or bug report. Thoughts? P.S. This issue didn't start happening ti'll about a day ago.
|
![]() Mar 16 2018, 11:35 am
|
|
You would have to provide with some code so we can see what causes the problem, as the problem could be related to a numerous of things.
|
I honestly don't know where the problem could be, that's why I didn't post any code.
|
You could probably start off by providing a codesnippet where you add the code, a screen shot of your icon with icon stats could also help.
And the code where the flick() function is used |
Idk how to post screenshots on here, but there shouldn't be anything wrong with the code of the attack button. Literally nothing has changed with it.
|
There's actually several recent issues that have popped up, and I think this is a symptom. A bunch of objects that previously worked well, don't anymore. Like, visually they're broken up and stuff.
|
You're gonna have to post some code, copy and paste the code inside these <.dm><./dm>
Get rid of . before posting. We literally can't provide any help without seeing the code to locate a issue. |
The problem is that I don't know what code to post because there's no errors or anything coming up. I can't post the entire attack code because its long as hell.
|
I don't think its flick itself but the objects that are being used. But if it'll help,
flick("attack",usr) |
I don't think so? I don't use betas. The version I'm using is 511.1385
|
Uhh...yeah, currently. but some other stuff has been malfunctioning too, like auras and stuff. They're disconnected in parts. But I'm talking about objs as overlays.
|
I've explained the issue in my original post. When i attack, the objects overlayed on me don't flick at all. Tbh it'd just be easier for u to come onto my game and see the issue.
|
I managed to find a workaround for it, the problem was I was adding an object onto someone besides the user of a skill, and for some reason unknown to me, it bugged a bunch of objects. The workaround I did was basically getting rid of the overlays/underlays. Btw, this is for a Bleach game, i should've mentioned that. I'll put >> next to the bugged areas.
mob |
Narutogx2 wrote:
I managed to find a workaround for it, the problem was I was adding an object onto someone besides the user of a skill, and for some reason unknown to me, it bugged a bunch of objects. The workaround I did was basically getting rid of the overlays/underlays. Btw, this is for a Bleach game, i should've mentioned that. I'll put >> next to the bugged areas. mob You shouldn't be using usr, just a tip. You don't even need src.rei, src.safe etc. You could just do if(rei < 99999). |
I don't think u read the code right. Its supposed to add BOTH things to the opponent, not just 1. And that's not how the mob/M in oview works, that selects a target in the view of the user. It doesn't affect everything in the range. Why would I add the underlays and overlays to the user, when the effect is being placed on the opponent? Also, the use of src and usr in this case, literally does not matter. U literally unnecessarily changed the entire code of the skill so it doesn't do what it's meant to do, as well as not solving the issue.
|