View Single Post
  #1  
Old 11-16-2015, 11:45 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Modifying existing particles with particle properties

Is there any way to modify particles based on the properties of the particles themselves? What I'm trying to do is modify a particles x/y movement dependent on its height. I want the particles to move faster if they're higher in the air, based on player input(walking).

This is my attempt:
PHP Code:
  temp.emitter findimg(200).emitter;
  if (
abs(temp.dx) > 0) {
    
with (temp.emitter) {
      
addglobalmodifier("once"05"x""add", -temp.dx*particles[0].z,-temp.dx*particles[0].z);
    }
  } 
But obviously it doesn't work or I wouldn't be here.
Reply With Quote