DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • April 24, 2018, 02:13:56 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: $args  (Read 2514 times)
0 Members and 1 Guest are viewing this topic.
Dannic
Guest
« on: March 19, 2005, 02:32:28 PM »

Is there an argument type forest?

Code:
$args['type'] == 'forest'
Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #1 on: March 19, 2005, 06:15:06 PM »

Yes. Look at my Slayer's Guild, it is used upon battle-victory, to check forest.

Code:
case "battle-victory":
   if ($args['type']=='forest'){
      slayerguild_endbattle();
   }
break;
« Last Edit: March 19, 2005, 06:17:02 PM by Sichae » Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Dannic
Guest
« Reply #2 on: March 19, 2005, 09:41:58 PM »

Thanks... figured there had to be a module that used it.
Logged
Booger
Captain of the Guard
***
Offline Offline

Posts: 126


I'm a llama!


View Profile
« Reply #3 on: March 20, 2005, 01:16:55 AM »

the args depend on the hook you're using. turn on the good old debug flag and add
Code:
debug($args);
in module_dohook to see what's on the menu ;)
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
40 Guests, 1 User
pharis
Home Forums News Downloads Login Register Advanced Search