Jump to content

  •  

KingIris

Member Since 11 Aug 2014
Offline Last Active Feb 21 2016 02:35 AM
-----

Posts I've Made

In Topic: Help me with this error?

01 December 2014 - 10:54 AM

so much little mistakes :P take a look and see if its working now, and tell me if you want to know everything that I've changed:

 

http://upaste.me/r/730315957e7bb414e

 

 

 

so much little mistakes :P take a look and see if its working now, and tell me if you want to know everything that I've changed:

 

http://upaste.me/r/730315957e7bb414e

 

ill test it ina bit

[font="'trebuchet ms', helvetica, sans-serif;"]The error because you forgot to add " at Line 60, wrong position and missing  "}" curly bracket.[/font]

 

I got it working, Thanks both


In Topic: Help me with this error?

28 November 2014 - 12:01 AM

so much little mistakes :P take a look and see if its working now, and tell me if you want to know everything that I've changed:

 

http://upaste.me/r/730315957e7bb414e

 

ill test it ina bit


In Topic: How to set Barricades?

27 November 2014 - 03:17 PM

Well, if you look closely at the OnBarricadeA/B/C labels, you'll see that I didn't specify the map name for it to check. Therefore it would never delete. Just replace ' mapname ' with the map you spawn the barricades on.

 

i edited everything correctly im guessing but the walls do not delwall after barricade is dead!

 

-	script	Barricade	-1,{OnInit:	setwall "te_aldecas3",81,228,1,0,0,"christmas_wall_a";	setwall "te_aldecas3",81,229,1,0,0,"christmas_wall_b";	setwall "te_aldecas3",81,230,1,0,0,"christmas_wall_c";	setwall "te_aldecas3",81,231,1,0,0,"crhistmas_wall_d";	setwall "te_aldecas3",81,232,1,0,0,"christmas_wall_e";	setwall "te_aldecas3",81,233,1,0,0,"christmas_wall_f";		for( .@i = 0; .@i < 4; .@i++ ){		monster "te_aldecas3",( 81 + .@i ),228, "Santa Wall", 1905, 1, strnpcinfo(0)+"::OnBarricadeA";		monster "te_aldecas3",( 81 + .@i ),229, "Santa Wall", 1905, 1, strnpcinfo(0)+"::OnBarricadeB";		monster "te_aldecas3",( 81 + .@i ),230, "Santa Wall", 1905, 1, strnpcinfo(0)+"::OnBarricadeC";		monster "te_aldecas3",( 81 + .@i ),231, "Santa Wall", 1905, 1, strnpcinfo(0)+"::OnBarricadeD";		monster "te_aldecas3",( 81 + .@i ),232, "Santa Wall", 1905, 1, strnpcinfo(0)+"::OnBarricadeE";		monster "te_aldecas3",( 81 + .@i ),233, "Santa Wall", 1905, 1, strnpcinfo(0)+"::OnBarricadeF";	}		monster "te_aldecas3", 73, 230, "Emperium", 1288, 1, strnpcinfo(0)+"::OnEmperiumDead";	end;	OnBarricadeA:if( !mobcount(te_aldecas3, strnpcinfo(0)+"::OnBarricadeA") ){	delwall "christmas_wall_a";}end;OnBarricadeB:if( !mobcount(te_aldecas3, strnpcinfo(0)+"::OnBarricadeB") ){	delwall "christmas_wall_b";}end;OnBarricadeC:if( !mobcount(te_aldecas3, strnpcinfo(0)+"::OnBarricadeC") ){	delwall "christmas_wall_c";}end;OnBarricadeD:if( !mobcount(te_aldecas3, strnpcinfo(0)+"::OnBarricadeD") ){	delwall "christmas_wall_d";}end;OnBarricadeE:if( !mobcount(te_aldecas3, strnpcinfo(0)+"::OnBarricadeE") ){	delwall "christmas_wall_e";}end;OnBarricadeF:if( !mobcount(te_aldecas3, strnpcinfo(0)+"::OnBarricadeF") ){	delwall "christmas_wall_f";}end;OnEmperiumDead:monster "te_aldecas3", 73, 230, "SUPER MONSTER", 1002, 1, strnpcinfo(0)+"::OnSuperDead";end;OnSuperDead:dispbottom "Congrats on Defeating Antonio, Daddy Nick greatly appreciate's the help.";end;}

 

Barricade_A

Barricade_B

arent delwall, Cant continue on even after you killed it


In Topic: How to set Barricades?

20 November 2014 - 11:46 PM

oh got it thanks man


In Topic: How to set Barricades?

20 November 2014 - 09:00 AM

You would simply just spawn more than 1 monster, each taking up 1 cell of the " wall ". Then, when the last one is killed you remove the wall like you did in your test script.

Then if you have multiple walls. You give each wall a different name, and the monsters that are spawned along that wall, have same Event label, just different from the other walls. ( Does that make sense? )

Example:

-	script	Barricade	-1,{OnInit:	setwall "te_aldecas3",81,228,1,4,6,"christmas_wall_a";	setwall "te_aldecas3",81,232,1,4,6,"christmas_wall_b";	setwall "te_aldecas3",81,234,1,4,6,"crhistmas_wall_c";		for( .@i = 0; .@i < 4; .@i++ ){		monster "te_aldecas3",( 81 + .@i ),228, "Barricade", 1905, 1, strnpcinfo(0)+"::OnBarricadeA";		monster "te_aldecas3",( 81 + .@i ),232, "Barricade", 1905, 1, strnpcinfo(0)+"::OnBarricadeB";		monster "te_aldecas3",( 81 + .@i ),234, "Barricade", 1905, 1, strnpcinfo(0)+"::OnBarricadeC";	}		monster "te_aldecas3", 81, 236, "Emperium", 2107, 1, strnpcinfo(0)+"::OnEmperiumDead";	end;	OnBarricadeA:if( !mobcount(mapname, strnpcinfo(0)+"::OnBarricadeA") ){	delwall "christmas_walla_a";}end;OnBarricadeB:if( !mobcount(mapname, strnpcinfo(0)+"::OnBarricadeB") ){	delwall "christmas_walla_b";}end;OnBarricadeC:if( !mobcount(mapname, strnpcinfo(0)+"::OnBarricadeC") ){	delwall "christmas_walla_c";}end;OnEmperiumDead:monster "te_aldecas3", 81, 236, "SUPER MONSTER", 1002, 1, strnpcinfo(0)+"::OnSuperDead";end;OnSuperDead:dispbottom "All done.";end;}

[font="'courier new', courier, monospace;"]i just tried testing, but theres a problem with the walls ive made.[/font]

[font="'courier new', courier, monospace;"]upon break the barricade, the wall doesnt delete. Its stays there[/font]

[font="'courier new', courier, monospace;"]& your basically stuck and cannot proceed[/font].