FX starting and immediately stopping

edited February 2012 in Help request
I have an FX defined in the INIs:
[W1Enter]
Type        = speed
StartTime   = 0.0
EndTime     = 1.0
Curve       = triangle
Pow         = 1.0
UseRotation = false
UseScale    = false
Absolute    = false
StartValue  = (0, 0, 0)
EndValue    = (0, 150, 0)

For some reason, the objects this FX is applied to do absolutely nothing. They appear on screen and the FX does nothing. The FX is being created, attached to the object, started and stopped in the same frame.

Comments

  • edited February 2012
    Just to be sure, this is the FX slot, not the FX itself, isn't it?

    Ie. you have something like this somewhere in your config:
    [MyFX]
    SlotList = W1Enter
    


    And you're applying it with orxObject_AddFX("MyFX"), not orxObject_AddFX("W1Enter")?

    If so, I'll check tonight but at a first glance it looks fine to me.
  • edited March 2012
    Woah, how did I miss that!?
Sign In or Register to comment.