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
  #3  
Old 04-24-2007, 09:22 PM
Rapidwolve Rapidwolve is offline
Registered User
Join Date: Jul 2006
Posts: 1,241
Rapidwolve is an unknown quantity at this point
Quote:
Originally Posted by killerogue View Post
A gani script? Where does it go? What does it do? Does it have any special things I should know about?
It obiviously goes inside a gani <_<.

Example

PHP Code:
player.attr[10] = "hp.gani";
player.attr[11] = {hpflagmaxhpflag}; 
PHP Code:
SCRIPT
function onCreated() onTimeout();
function 
onPlayerEnters() onTimeout();

function 
onTimeout()
{
  
showtext10, (player.6), (player.3), "Arial""b"format("HP:%f/%i"player.attr[11][0], player.attr[11][1]);
  
changeimgvis(102);
  
changeimgzoom(100.50);

  
setTimer(.05);
}
SCRIPTEND 
From what I hear its much better to use GANI scripting gives off less lag then other types of scripting

Last edited by Rapidwolve; 04-24-2007 at 10:35 PM..
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 12:05 AM.


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