Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-19-2014, 12:03 AM
khortez khortez is offline
PrototypeX
khortez's Avatar
Join Date: Dec 2008
Posts: 91
khortez will become famous soon enough
Quote:
Originally Posted by MysticalDragon View Post
There is also a simpler method then this that will give you the same results.

PHP Code:
function onCreated(){ 
  
temp.images = { "test1""test2"}; 
  
temp.random randomstring(temp.images);
  echo(
temp.random);

And yet... another little tidbit that was off in cyberspace until this moment.. how do you guys remember all these prefixes and what not?

thanks though i got two methods to use now
Reply With Quote
  #2  
Old 12-20-2014, 01:57 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
Quote:
Originally Posted by khortez View Post
And yet... another little tidbit that was off in cyberspace until this moment.. how do you guys remember all these prefixes and what not?
you'll recall them all the time, kinda like learning a new language. also you can find some functions by using /scripthelp keyword on rc, while keyword is some part of the functions name or description. that way you can find some stuff or parameters of a function
__________________
MEEP!
Reply With Quote
Reply


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 10:07 PM.


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