|
Post by Siwy on Aug 15, 2016 16:40:31 GMT
Siemanko/ Hello
Looking for a script for the throwing of an item under which the player is a few sqm me. I wish this script was universal in terms that I can stand in different positions
Trying to Finish my icons Soon on Forum <3
|
|
|
Post by Darth Maul on Aug 16, 2016 6:51:40 GMT
Hey Siwy, These two scripts should work. Script 1 will allow you to throw items, (or anti-push), your current target. This might be more useful during PVP/wars when you're manually SDing/using combo SD. This scripts allows you to easily switch between players, using the targeting system. auto 100 | listas 'Anti-Push on Target' | set $px '$target.posx' | set $py '$target.posy' | set $pz '$target.posz' | ifnot [$topitem.$px.$py.$pz == 3031] {if [$target.isonscreen] {dropitemsxyzamount $px $py $pz 3031 1}} This Second script also allows you to throw items, (or anti-push), a specific player. This script by itself might not be as useful as the one above during pvp/war however if you setup multiple scripts with a full list of players you'd like to help anti-push with it'd be more powerful. You need to change the $creature.NAME to the players name you'd like to throw items under, probably your main front-liner in a war. auto 100 | listas 'Anti-Push on $n.name' | set $n $creature.'Darth Maul' | if [$n.isonscreen] {set $px '$n.posx' | set $py '$n.posy' | set $pz '$n.posz' | ifnot [$topitem.$px.$py.$pz == 3031] {dropitemsxyzamount $px $py $pz 3031 1}}
|
|