Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Emitter on a gmap (https://forums.graalonline.com/forums/showthread.php?t=134260623)

Jiroxys7 09-25-2010 08:23 PM

Emitter on a gmap
 
Okay, so I have an emitter that creates a sort of weather effect. except only in a large area around the emitter's location. however, once you leave the level, you can no longer see the particles. Is there an emitter thing that allows the emitter to show up on adjacent levels on a gmap if set to true?

This also effects my projectiles that use a particle emitter in the gani.


Any ideas?

DrakilorP2P 09-25-2010 11:09 PM

I think you either need to place several of them or put the code in a weapon script.

I don't know what exactly you're doing but weather effects in general are best put in weapon scripts.

Jiroxys7 09-25-2010 11:17 PM

Quote:

Originally Posted by DrakilorP2P (Post 1602373)
I think you either need to place several of them or put the code in a weapon script.

I don't know what exactly you're doing but weather effects in general are best put in weapon scripts.

Well it's not an actual weather effect, otherwise I wouldve put it in a weapon script.

Taking an example of what I'm doing right now, one of my classes has a skill that causes it to snow in a large area. Everything inside this area is debuffed and damaged over time.

So placing npcs in multiple levels or bundling the effect in a weapon script isn't going to be the solution.

DeCeaseD 09-25-2010 11:27 PM

My only thought for a way to do something like this would be to do a putnpc2 for the class.. then once the class is placed keep record of its original spawn location then have the npc itself follow each player for x distance and once a max distance is reached shut off the effect.. ?

cbk1994 09-25-2010 11:30 PM

Quote:

Originally Posted by DrakilorP2P (Post 1602373)
put the code in a weapon script

this

Jiroxys7 09-26-2010 11:58 AM

Quote:

Originally Posted by cbk1994 (Post 1602379)
this


Is putting it in a weapon script really the only way to do it? x_x I wanted players to be able to see exactly where it is so they know NOT to step in it. If it's in a weapon, they wont know until they enter the level.

cbk1994 09-26-2010 03:53 PM

Quote:

Originally Posted by Jiroxys7 (Post 1602477)
If it's in a weapon, they wont know until they enter the level.

Other way around. Show it at the x/y of the "where you don't step".


All times are GMT +2. The time now is 06:42 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.