Forum

> > Stranded II > Scripts > Particle Script command: Does it work?
Forums overviewStranded II overview Scripts overviewLog in to reply

English Particle Script command: Does it work?

7 replies
To the start Previous 1 Next To the start

old Particle Script command: Does it work?

pupp3tStudios
User Off Offline

Quote
Okay, so I found a neat-sounding script command called particle. Pretty much creates a particle at the designated object, unit, item, whatever.
     So to test it, I put in the script of:
1
2
3
4
5
6
7
8
on:use {
particle X,Y,Z,Type;
}

Here: x= x-coordinate 0
	y= y-coordinate 40
	z= z-coordinate. 0
	Type= 23 (blood subsplatter)
I applied it to a door as a test subject. But when I used the door, there was no particle, or any indication of a particle!
So, I was wondering whether this command actually works.
Any help?

old Re: Particle Script command: Does it work?

DC
Admin Off Offline

Quote
It should. Double check the coordinates and also try another type. Note that the coordinates are absolute world coordinates (not relative to the object were you execute the script!). So you may want to use getx("self") for x and same for y and z with gety (+/- a certain value or your particles will get spawned below the terrain) and getz.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewStranded II overviewForums overview