Graal Forums  

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

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 02-17-2012, 08:59 AM
Tricxta Tricxta is offline
The Muffin Man
Tricxta's Avatar
Join Date: Oct 2010
Location: Australia
Posts: 563
Tricxta is a jewel in the roughTricxta is a jewel in the rough
Not sending the full array

I have this code
PHP Code:
function onPlayertouchsme(){
temp.heads 0;
  for (
temp.i:level.(player.BowlingGroup "_BowlingGroup")){
temp.head findplayer(temp.i).head;

funciton onCreated(){

temp.heads params[0]; this.attr[1];
// = temp.heads;
image "tricxta_group-bowling-gui.png";
layer 4;
  for (
image temp.heads[temp.i];
partX 0;
partY 64;
partW 32;
partH 32;
132 temp.i*32;
layer 5;

The problem is it constructs the head array fine but once sent by the triggeraction to the client, it only receives the first element. Does anyone know a way around this or how to send the whole array?
Reply With Quote

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

Forum Jump

All times are GMT +2. The time now is 06:00 PM.

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