Forum

> > Stranded II > Scripts > Particle Script command: Does it work?
ForenübersichtStranded II-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Particle Script command: Does it work?

7 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Particle Script command: Does it work?

pupp3tStudios
User Off Offline

Zitieren
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?

alt Re: Particle Script command: Does it work?

DC
Admin Off Offline

Zitieren
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.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtStranded II-ÜbersichtForenübersicht