![]() |
Triggeraction
Hey guys, need some assistance. I have used triggeraction many times and it has worked many times for me. But im trying to make lighteffects spin around a character, but so it will show to all. Example if some player has this NPC enabled, than all the other Players in the level will be able to see the lighteffects spinning around the player with the NPC Enabled.
But it doesnt seem to work, could anyone give me an example on how to fix this, and make it work. Please and thank you very much, been working on this NPC all day and cant figure it out. |
use an index over 200 for the showimg o_O?
|
-=Josey=-
If it's for pay-to-play I'd use getplayer, playerx, and playery. |
im confused, do you want it to show for everyone in the level??
|
You can do it with showimgs, or with gani scripts.
Showimg will be laggy when displaying many lights on many players, but will work everywhere. You just have to do showimg index,image,x,y; with index between 1 and 199. Gani scripts are not laggy, but you will need to make special ganis that hold the script like lightswalk.gani, lightsidle.gani, and then call replaceani idle,lightsidle; and replaceani walk,lightswalk; Inside the ganis add a script like this: SCRIPT if (playerenters || timeout) { showimg 200,light2.png,playerx-2,playery-2; changeimgcolors 200,1,1,1,0.99; changeimgvis 200,3; timeout = 0.05; } SCRIPTEND Such ganiss are currently only allowed on servers with npcserver (p2p servers). |
gani scripting??
o my lord, how could i not know this can it handle all of the regular gscript commands?? |
u mean that triggeraction and hitobjects can be included in ganis??
|
Hmmm
I have tried Gani scripts before, didnt work. But I will try that though since Stefan said its the best way. Im making some spells for my Mage Class, all the spells will use lighteffects and what not. Well, thanx guys. :D
|
show img and its modifiers will work
this.vars playerx playerx x and y will work All the #P<number> will work and play <sound>; will work too. basically thats it. so you cant make a script persay inside a gani, just showimgs and play sounds. |
Quote:
|
Quote:
|
Quote:
|
hmm
So I can use Showimg in Ganis, but will I be able to use Magnatude and Cos ?
|
Quote:
|
how do i make it to where i can press any butto like abcdef or g and it does an action, like if i wanted to make an npc where i have to press combinations of buttons to do something, kinda like the bamboo stick, except i wanna make a skateboard that runs on a halfpipe npc and when you hit the vert you press a combo of buttons to do a specific trick, can you help?
|
Quote:
|
| All times are GMT +2. The time now is 05:32 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.