Graal Forums  

Go Back   Graal Forums > Development Forums > Gani Construction
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-05-2008, 12:34 PM
Soala Soala is offline
Ideas on Fire
Soala's Avatar
Join Date: Jun 2007
Location: In my head
Posts: 3,208
Soala is a jewel in the roughSoala is a jewel in the rough
Arrow About how to make a gani WORK

Seems I can't find anything that will tell me how to make a gani work, I will ask here.

Could anyone show an exemple of a working gani script ?
Someone told me it was completely different than a normal script, and I also tried everything I knew to make one work.
Show me some exemple ? Or maybe make a tutorial about it on graal bible
With maybe a list of commands that would work
I heard of replaceani, stuff like that.

Help
Reply With Quote
  #2  
Old 05-05-2008, 10:25 PM
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
All you do is make a text file and save it with a .gani extension. In the text file, it should look like this:

PHP Code:
SCRIPT
function onCreated()
{
  
doBlah();
}
SCRIPTEND 
It is just like any other script, but it is clientside. There is no need to have //#CLIENTSIDE, as it is always clientside.

You also cant use triggerserver to trigger the GANI to perform serverside functions.
__________________
Reply With Quote
  #3  
Old 05-06-2008, 11:52 AM
Robin Robin is offline
The secret of NIMH
Robin's Avatar
Join Date: Apr 2005
Location: Wales, UK
Posts: 515
Robin will become famous soon enough
Send a message via AIM to Robin
Quote:
Originally Posted by cbkbud View Post
You also cant use triggerserver to trigger the GANI to perform serverside functions.
Which would be nice for action ganis like grab,pull,sword etc.
__________________

Reply With Quote
  #4  
Old 05-07-2008, 01:14 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
Quote:
Originally Posted by Robin View Post
Which would be nice for action ganis like grab,pull,sword etc.
As far as I know you can trigger a weapon or DBNPC, perhaps that will do what you want? It's easier just to make a custom movement system though, gives you more customizability anyway.
__________________
Reply With Quote
  #5  
Old 05-14-2008, 12:15 PM
Soala Soala is offline
Ideas on Fire
Soala's Avatar
Join Date: Jun 2007
Location: In my head
Posts: 3,208
Soala is a jewel in the roughSoala is a jewel in the rough
I understand now, thanks ^
I didn't know I had to have such things like SCRIPT and SCRIPTEND !
Also thanks for explaining them =)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:26 AM.


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