I have a question that I asked over in the Maxscripts forum. I figured it’d probably be answered here quicker so i’ll quote…
Alright I have two questions.
First: I just need to know how to create a simple distance script operator for a PFlow system such that when Object A and Object B are a certain distance from each other, Object B will fire an event. For a literal example, i’m creating a totally Pflow-driven space battle scene and I want an Object B (black ship) to shoot once it’s close enough to an Object A (white ship)…
Secondly. How would I script a PFlow event that would create an omni-light and automatically keyframe some intensity settings based on a Spawn event. Literal example being: When a ship shoots and it’s missile detonates, I want it to create an Omni light that will light up and decrease in intensity as such with the intensity of the explosion so that I don’t have to manually create and keyframe omni-lights for every PFlow-created explosion…
Hope you guys understood that and can help… Cheers!
…



