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
  #15  
Old 04-26-2007, 04:51 AM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Quote:
Originally Posted by cbkbud View Post
lol ... just lol

You'll want to make a gani script, and use params or attrs so it shows the zoom for everybody. To make a gani script, edit the gani file in a text editor, and at the bottom (or so) add

PHP Code:
SCRIPT
  
// Code goes here
SCRIPTEND 
and if you want to use params, you need to use that in an if (created) and then call something. Otherwise, it will reset the params. For example,

PHP Code:
SCRIPT
  
if ( created )
  {
    
doStartparams );
  }
  function 
doStartNULL )
  {
    echo( 
params );
  }
SCRIPTEND 
oh my god use function onCreated(), not if created.

and thats not true. params are passed to the onPlayerEnters function
so if you do like setani("whatever",param,param,param);
the function onPlayerEnters(somename,somename2,etc) in the gani will recieve those parameters.
__________________
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 04:31 AM.


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