Graal Forums  

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

Showing results 1 to 12 of 12
Search took 0.00 seconds.
Search: Posts Made By: ZeroG
Forum: NPC Scripting 12-07-2010, 05:58 AM
Replies: 6
Views: 1,182
Posted By ZeroG
But is it possible to send variables from...

But is it possible to send variables from serverside to clientside?
Forum: NPC Scripting 12-07-2010, 05:56 AM
Replies: 6
Views: 1,182
Posted By ZeroG
I'll try that, thanks.

I'll try that, thanks.
Forum: NPC Scripting 12-06-2010, 03:57 AM
Replies: 6
Views: 1,182
Posted By ZeroG
Showimg serverside or serverside to clientside

function onActionLeftMouse(){
showimg(196, "green_rupee.png", mouse.x-0.5, mouse.y-0.5);
}


I'm trying to get the image to appear serverside for everyone if a player clicks it. I'm not sure...
Forum: NPC Scripting 11-04-2010, 01:45 AM
Replies: 14
Views: 1,257
Posted By ZeroG
Yes, it doesn't work:p

Yes, it doesn't work:p
Forum: NPC Scripting 11-04-2010, 01:32 AM
Replies: 14
Views: 1,257
Posted By ZeroG
I tried this: function onPlayerTouchsMe()...

I tried this:


function onPlayerTouchsMe() {
sendtonc("/clearnpcs" SPC player.level);
}

And all it did was write "/clearnpcs dodge.nw" in the RC. Nothing actually happened. So that's a no,...
Forum: NPC Scripting 11-04-2010, 12:54 AM
Replies: 14
Views: 1,257
Posted By ZeroG
Yes. Thanks:)

Yes. Thanks:)
Forum: NPC Scripting 11-04-2010, 12:52 AM
Replies: 14
Views: 1,257
Posted By ZeroG
Here is the emitter: if (created) { ...

Here is the emitter:


if (created) {
setshape 1,32,32;
}
function onPlayerChats(){
if (player.chat=="start"){
if (player.account=="Graal755284"){
settimer(0.1);
Forum: NPC Scripting 11-04-2010, 12:48 AM
Replies: 14
Views: 1,257
Posted By ZeroG
And salesman, I tried that too, it didn't work: ...

And salesman, I tried that too, it didn't work:


function onPlayerTouchsMe() {
sendToRC("/clearnpcs dodge.nw");
}
Forum: NPC Scripting 11-04-2010, 12:45 AM
Replies: 14
Views: 1,257
Posted By ZeroG
This destroys the npcs, I meant like getting rid...

This destroys the npcs, I meant like getting rid of them if they are already destoryed. I had an npc create a bunch of class npcs for a while that destored themselves after a few seconds and...
Forum: NPC Scripting 11-04-2010, 12:21 AM
Replies: 14
Views: 1,257
Posted By ZeroG
"/clearnpcs" from Script

Is it possible to clear all the npcs in the level with a script in the same way you would with "/clearnpcs *.nw" in RC? For example let's put this script on an npc:


function onPlayerTouchsMe(){...
Forum: NPC Scripting 10-02-2010, 10:43 PM
Replies: 3
Views: 1,081
Posted By ZeroG
Thanks:)

Thanks:)
Forum: NPC Scripting 10-02-2010, 10:32 PM
Replies: 3
Views: 1,081
Posted By ZeroG
Exclamation Everyone with client.var....

I'm trying to make a script that kicks everyone in a level who has a client.chance variable of 2, for example. I'm not sure how to make it so that whoever says /kick 2, everyone with client.chance=2...
Showing results 1 to 12 of 12

 
Forum Jump

All times are GMT +2. The time now is 11:21 PM.


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