Thread: Dilema...
View Single Post
  #17  
Old 02-07-2002, 09:41 PM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
Quote:
Originally posted by GregoryYoshi


triggeraction can send more than one parameter

#p(index) gets the parameters from the specified index in triggeraction.

The reason I had it #p(2) was because I was testing other indexes...even #p(1) returned a value of 0.
I know that u can use more then only one param but I thought in that case #p(2) would be wrong....
and u missed a bracket here:
NPC Code:

this.type = int(random(1,5);



and this part:
NPC Code:

setcharprop #c,#v(this.mined) | #v(this.hitter);
} else



needs another bracket too
NPC Code:

setcharprop #c,#v(this.mined) | #v(this.hitter);
} else {

__________________
No Webhost at the moment

Last edited by TDO2000; 02-07-2002 at 09:52 PM..
Reply With Quote