![]() |
Particle effects on a gmap
I have a particle effect which is played in a gani.
The gani is placed at a random point around the player. If I show the gani on a gmap, however, it shows in the top-left corner (first level) or the gmap. I have no idea why. Do you? As I tend to screw around when things don't work, I've tried a lot of things. It won't work. :( |
Particle effects in ganis on gmaps haven't acted up on me.
I am guessing that it has something to do with either: x = foo; y = bar; |
I've played with the x/y variables in both the NPC weapon part and the gani part. :/
I've placed particles on the gmap before, it's just this one. z-z |
Do:
'x%64' instead of 'x' 'y%64' instead of 'y' |
That was what I tried at first :(
|
Quote:
|
Have you tried something like: x+(64*mapx(level.name)) or whatever?
|
Quote:
|
Quote:
2. mapx(level.name) is the worst I've seen from you. First of all, it's player.level. Second of all, mapx takes two parameters. Third of all, mapx is not for finding a level's coordinate on a map, but instead to convert screen coordinates to level coordinates. 3. There are functions for getting a level's coordinates on a map, but you shouldn't need it. Try outputting x,y vars in player.chat or npc.chat to verify #1. |
Quote:
Quote:
Quote:
Quote:
|
Quote:
|
Quote:
getmapx is the correct function, I believe. I'm not sure though. |
Quote:
Quote:
Quote:
|
Quote:
I still love you you know! |
A nickname system taking up 30% >_> wow
|
mapx(), mapy()
|
Eh, no its getmapx(levelname) getmapy(levelname)
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Ive found that on a gmap with the particle engine, if you use attachtoplayer = true; it tends to stick with the player (If you dont already have that in the script).
|
Instead basing the light effects off of levels xy base it off the players xy. I had the same problem while back and that fixed it.
|
| All times are GMT +2. The time now is 07:16 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.