• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] Annoying decay bug

Status
Not open for further replies.
Level 14
Joined
Nov 18, 2007
Messages
1,084
I'm not sure that this post will be very helpful but this is what I did:

  • Not setting decay to 0 in the module by default will result in decay being set correctly.
  • Setting decay right after calling createFromDummy will result in decay being set correctly. This could suggest that something is wrong with how you're creating the structs.
  • Bit unrelated, but xyArc also faces the problem of having a value of 0 in the loop. I think something is wrong with your modules or the create method.
In both results, I did not see the create method's debug message but I saw this repeatedly:
1
420
onLoop! 5.000
before finally
1
420
onLoop! 5.000
5.016 from 5.000
1
 
Level 18
Joined
Jan 21, 2006
Messages
2,552
Hey guys, I am rewriting my Missile engine. (just for fun, you know)

I already implemented a new event system, however, the new modules do not seem to work properly.

I set decay correctly, but somehow on the second run, its zero. Why is that?

//: Resolved.

Welcome back to the modding community, not that you ever really left in any way.
 
Status
Not open for further replies.
Top