![]() |
triggeraction
Triggeraction only seems to work if any object has a visible kind of image/gani in the place. (Complicated- I know)
If you make a script with an image of any color which is 5x5 pixels, it won't detect the npc if it has a setshape of 32x32. It's depending on the image pixels (as far as I am aware of) instead of the setshape. Can you please investigate. thank you |
1 Attachment(s)
I don't think thats true?
I've done a triggeraction with npcs that have a setshape, but no image... Edit: Yep, checked it. I have a npc that has an image that is 5x5, but the trigger action still works. Script: PHP Code:
|
Quote:
|
You can also do
PHP Code:
PHP Code:
|
Quote:
+rep!!! u so cool!! |
Quote:
That's a good idea =o I made an NPC with an image / setshape, once I sent the triggeraction it found it the first time, I changed the image to "no-shield.png" (an image with nothing in it) and I tried to send the triggeraction again and it wouldn't work. I've fixed the problem now by using showimg() (thanks to salesman) but this needs to be fixed, I assumed it was because of this. |
All times are GMT +2. The time now is 09:18 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.