
06-13-2007, 11:28 PM
|
|
Banned
|
Join Date: Apr 2007
Posts: 37
|
|
|
the attributes thing worked perfectly as i just want to hover a flag over the head. i search on the Graal Wiki Homepage... couldn't find what available attributes were, but i did this:
player.attr[5] = "ctfFlag.gani";
I don't know what the 5 stands for, but it works. maybe if someone could quickly list the attributes, that'd be cool.
also say for example, i change the player's attributes and it stays that way in the level:
function onPlayerEnters() {
setani ctfFlag_idle,;
}
if they were to "unstick me", use staff warps or someone summons them out of a level, they will stay that way. how do i make it so that if they leave the level (under not-normal) circumstances, can i set them back to normal? i dont want them to touch an NPC to set them back to normal before they leave.
this is also a problem if you create a new tileset for just that one level and they decide to "unstick me" or use staff warp, etc... to leave the level and when they do, their game window is all garbled and messed up. |
|
|
|