View Single Post
  #2  
Old 06-12-2007, 02:49 AM
PrinceOfKenshin PrinceOfKenshin is offline
That guy with a beard
PrinceOfKenshin's Avatar
Join Date: May 2004
Location: Ontario, Canada
Posts: 819
PrinceOfKenshin has a spectacular aura aboutPrinceOfKenshin has a spectacular aura about
Quote:
Originally Posted by Cherrykao View Post
i created a gani that shows a Blue Flag over a character when they enter a level. when i move around, the gani of the Blue Flag hovering over a character disappears. How do i keep the gani on the players inside a level?


function onCreated() {
}

function onPlayerEnters() {
timeout=0.05;
timereverywhere;
setani blueFlag_idle,;
}

function onTimeout() {
if (player.guild == "Blue Team") {
setani blueFlag_idle,;
}
if (player.guild == "Red Team") {
setani redFlag_idle,;
}
}
timeout=0.05;

Or maybe just attach a PNG image of the flag over a character. I'm not sure how to either keep the gani on the players or attach a PNG image of the flag over a character?
You have to make a gani of the person running = ) you only have an idle
__________________


Quote:
Game Master (Server): Greetings PrinceOfKenshin, there are new posts on the forums that demand your urgent attention! God speed, the fate of the world is in your hands. If you fail, middle earth will forever be in the darkness and your children will be enslaved by McKain.
Reply With Quote