Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onPlayertouchsme() {
- setlevel2("main_ah-36.nw",62,55);
- }
- //#CLIENTSIDE
- function onCreated(){
- dontblock();
- drawunderplayer();
- this.image = "circle-blue.png";
- setTimer(0.05);
- }
- function onTimeOut(){
- setTimer(0.05);
- }
- function onPlayerEnters() {
- with (findimg(200)) {
- spin = degtorad(0);
- rotation = degtorad(0);
- with (emitter) {
- delaymin = 0;
- delaymax = 3;
- nrofparticles = 1;
- emitautomatically = true;
- autorotation = false;
- firstinfront = true;
- emissionoffset = {0,0,0};
- attachposition = false;
- checkbelowterrain = false;
- continueafterdestroy = false;
- maxparticles = 100000;
- particleTypes = 1;
- with (particles[0]){
- image = "circle-blue.png";
- zoom = 1;
- red = 1;
- green = 1;
- blue = 1;
- alpha = 0.2;
- mode = 1;
- lifetime = 10;
- angle = degtorad(32);
- zangle = degtorad(0);
- speed = 0.5;
- rotation = degtorad(0.3);
- spin = degtorad(0);
- partx = 0;
- party = 0;
- partw = 0;
- parth = 0;
- stretchx = 1;
- stretchy = 1;
- sound = "";
- layer = 0;
- }
- addlocalmodifier("once", 0, 0, "angle", "replace", degtorad(90), degtorad(90));
- addlocalmodifier("range", 0.25, 10, "alpha", "replace", 0.99, 0);
- addlocalmodifier("range", 0, 2, "alpha", "replace", 0, 0.99);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement