Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-12-2007, 01:40 AM
Cherrykao Cherrykao is offline
Banned
Join Date: Apr 2007
Posts: 37
Cherrykao is on a distinguished road
setting gani on a player

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?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:30 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.