Lazarus
Master
Posts: 352
Likes Given: 11
Likes Received: 7 in 6 posts
Joined: Jun 2012
Reputation: 1
Hybris Ultima Online
|
RE: targon_ground - need help ^_^
(08-07-2012 02:32 PM)Shaklaban Wrote: well you can add: (<SERV.MAP(<argv[0]>,<argv[1]>,<argv[3]>).STATICS>) then they are not able to teleport a tile which contains statics. if you want to disable just some types of statics you can loop through statics: http://wiki.sphere.torfo.org/index.php/Map_Points you can control their properties with <serv.itemdef.x.can> thing. if you want to disable teleport on blocking ingame items you can use foritems 0 and control the can flag of items in for loop "if (<can>&can_i_block)".
I can do something like:
if ((<SERV.MAP(<argv[0]>,<argv[1]>,<argv[3]>).ISNEARTYPE t_grass>) || t_normal || t _rock
return 1
else
return 0
?
just to know, this will simply all the function and works only in grass, normal terrain or rock.
Thanks for the .statics , I'll try it.
WITH STATICS works fine but the houses... I can still get in the player's houses...
(This post was last modified: 08-07-2012 02:46 PM by Lazarus.)
|
|
08-07-2012 02:41 PM |
|
|