1. #1

    How to change a generic filters value (dynamically)

    This is probably something simple but I can't figure it out! as set value events can't target generic filters. I have a aeroplane and am using only OPE's to move it, but this means it can fly through the ground on take off.
    I have 2 generic filters to restrict or control the planes pitch rotation, one for rising up, and one for nose diving (or one for greater than and one for less than) they are both originally set to 360' and -360' for full movement.

    To avoid going through the ground on takeoff I've restricted the planes nose dive generic filter (greater than) from a full 360' to just 0.00' (meaning it cannot nose dive at all, only fly upwards)

    I want to make it so after flying up to a certain level, the greater than generic filter is set back to 360' so people can move fully again. I'd be grateful for any help
    Share this post

  2. #2
    dasraizer's Avatar Senior Member
    Join Date
    Apr 2014
    Location
    UK, Isle of Wight
    Posts
    1,195

    Re: How to change a generic filters value (dynamically)

    set value event with value of 360 targeting a variable data source that's tied via the 'press Y pick object' of operand2 in the generic filter, also you can use several set value events targeting the same variable data source, so when your taking of set the value to 0 and when in flight set it to 360.

    hope that's helpful.
    Share this post

  3. #3

    Re: How to change a generic filters value (dynamically)

    That worked perfect, thank you!
    Share this post