Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Code Gallery (https://forums.graalonline.com/forums/forumdisplay.php?f=179)
-   -   Systems Core (https://forums.graalonline.com/forums/showthread.php?t=73248)

Chandler 04-02-2007 09:39 PM

Systems Core
 
http://skyld.vip.graal.net/wikka.php?wakka=SystemCore

You'll see how it works. If you have any questions, feel free to ask! :p

theHAWKER 04-03-2007 01:35 AM

why would u need this?

Rapidwolve 04-03-2007 01:38 AM

For people to study.

Chandler 04-03-2007 08:31 AM

I use it on a playerworld I work on, I can make weapons in a matter of seconds. It's also all about this one weapon, this one weapon should control all the players actions. That's how it's planned. :p

killerogue 04-03-2007 08:35 AM

Quote:

Originally Posted by Chandler (Post 1296340)
I use it on a playerworld I work on, I can make weapons in a matter of seconds. It's also all about this one weapon, this one weapon should control all the players actions. That's how it's planned. :p

Interesting.


Good Work!

Chompy 04-03-2007 01:00 PM

Quote:

Originally Posted by Chandler (Post 1296025)
http://skyld.vip.graal.net/wikka.php?wakka=SystemCore

You'll see how it works. If you have any questions, feel free to ask! :p

Nice! It looks interesting :]

PS: the doAction() you used in the other example could be in the SystemCore :P
___(For lazy people?)

Twinny 04-03-2007 01:59 PM

I'd try and have most of those functions in a class so I could do player.doFunkyStuff(); but it's all good ^^.

Chandler 04-03-2007 06:55 PM

Quote:

Originally Posted by Twinny (Post 1296366)
I'd try and have most of those functions in a class so I could do player.doFunkyStuff(); but it's all good ^^.

Hmm, you can do that clientside? *tests
Oh cool, it works!
PHP Code:

//#CLIENTSIDE
function onCreated()
  
player.join("cFunctions");
function 
onPlayerChats()
  if (
player.chat.starts("doFunction"))
    
player.(@player.chat.substring(6).trim())(); 

PHP Code:

//#CLIENTSIDE
public function drawText()
  
player.chat "Found Function!"

Thank you!


All times are GMT +2. The time now is 07:11 AM.

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