![]() |
help with the size of animations?
well to make a long story short, i was trying to make a wall that npcs will attack, and the only way i could get it to work is if i put the "showcharacter" trigger in the script and to do that the wall had to be a animation... but when i turned the wall into a animation the actual size of the npc is only about 3/4th of the size of the image, so a fourth of the wall doesn't block...
how do i change the size of a animation so the npc will be as big as the image? and i did try to use the "setshape" trigger, it didn't do anything :( |
In the GANI, add (edit with Notepad):
PHP Code:
PHP Code:
|
hmm- (width of image/ height of image) / 16
|
I'm pretty sure you can't change the shape of a gani in any way.
|
Quote:
|
I think the bigger problem people should be considering is the fact that you have to showcharacter() in order to get it to take damage.
Let's see the script. |
Quote:
this is for the offline editor. sorry about it not being neat, and i know some things may be scripted strangely.. but everything i learned about scripting i learned from pressing random buttons. didn't know about the forums until a few years after i got the editor. PHP Code:
|
Quote:
Quote:
|
what i don't understand sometimes the shape of the animation changed to fit the image and sometimes it didn't. for this image it just won't change >.< but i did take your post into consideration, and i'm starting to think i can't change the shape of the animation.
do you notice anything in the script that would make it so npcs won't attack it? or is that just graal being glitchy again? |
Quote:
Quote:
|
NPCs won't attack because I'm assuming you're using pre-defined character scripts in the editor, and they're scripted only to attack other players(showcharacter renders them a 'player').
|
Quote:
|
Quote:
|
ok, thanks for the help everyone.
|
| All times are GMT +2. The time now is 09:34 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.