SphereCommunity
Help this script. - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Help this script. (/Thread-Help-this-script)



Help this script. - victorstelzer - 10-01-2012 08:47 AM

It is only creating 1 item

As he has to create the 3 items?

[ITEMDEF i_deed_vulcan]
NAME=Deed Plate vulcan
ID=i_deed
TYPE=t_normal
VALUE=5000


on=@create
COLOR=color_o_vulcan


on=@dclick
serv.newitem=i_vulcan_platemail_arms
serv.newitem=i_vulcan_PLATEMAIL_leggings
serv.newitem=i_vulcan_plate_helm
new.bounce
src.anim 17
src.sound snd_spell_gate_travel
consume 1 i_deed
return 1


RE: Help this script. - Extreme - 10-01-2012 09:48 AM

serv.newitem=i_vulcan_platemail_arms,1,<uid>
serv.newitem=i_vulcan_PLATEMAIL_leggings,1,<uid>
serv.newitem=i_vulcan_plate_helm,1,<uid>


RE: Help this script. - RanXerox - 10-01-2012 10:09 AM

...also, get rid of this line since it is not necessary:

Code:
new.bounce

...also, the following line is dangerous, so change it from this:

Code:
consume 1 i_deed

...and replace it with this:

Code:
remove



RE: Help this script. - victorstelzer - 10-01-2012 10:15 AM

Is creating only the last item

serv.newitem = i_vulcan_platemail_arms, 1, <uid>
serv.newitem = i_vulcan_PLATEMAIL_leggings, 1, <uid>
serv.newitem = i_vulcan_plate_helm, 1, <uid>

21:11:ERROR:(deeds plates.scp,14)Non container uid=04000c35a,id=0a035
21:11:ERROR:(deeds plates.scp,15)Non container uid=04000c35a,id=0a035
21:11:ERROR:(deeds plates.scp,16)Non container uid=04000c35a,id=0a035


RE: Help this script. - Extreme - 10-01-2012 10:19 AM

serv.newitem=i_vulcan_platemail_arms,1,<src.findlayer.21>
serv.newitem=i_vulcan_PLATEMAIL_leggings,1,<src.findlayer.21>
serv.newitem=i_vulcan_plate_helm,1,<src.findlayer.21>


RE: Help this script. - victorstelzer - 10-01-2012 10:30 AM

RanXerox, Extreme , thank helps