View Single Post
  #4  
Old 05-14-2011, 12:06 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Use a GANI. If you want the text to be an image, just make it like a normal GANI (with no player, single-direction, and the text floating above where the player would be) and put it in the player's attributes.

If you want to draw the text via script, use a GANI script.


Quote:
Originally Posted by cbk1994 View Post
The simplest GANI script would be something like

PHP Code:
SCRIPT
function onPlayerEnters() {
  
onCreated();
}
function 
onCreated() {
  
player.zoom 2;
}
SCRIPTEND 
You'd then do something like

PHP Code:
player.attr[8] = "mygani.gani"
GANI paramaters are passed through attributes using commas, like this:

PHP Code:
player.attr[8] = "mygani.gani,2"
When drawing the image, set attachtoowner to true.
__________________
Reply With Quote