Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cancel item creation
Author Message
Art
Journeyman
*

Posts: 118
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2012
Reputation: 0



Post: #1
cancel item creation
Hello. I would like to avoid creating of walls of spell Wall of Stone in specified conditions. For that i tried to check trigger at i_wall_stone_7 item which created after spell Wall of Stone, and used

ON=@Create
return 1

and

ON=@Create
remove

but it not helped, item still appeared. I know another way to delete it, by timerf 1, remove, but it's too long, i want instant block of appearing walls.
03-12-2015 08:38 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: cancel item creation
You can add a return 1 ( inside the check where the conditions are meet) in the @success trigger of the Stone wall spells.
03-12-2015 09:32 PM
Find all posts by this user Like Post Quote this message in a reply
azmanomer
Journeyman
*

Posts: 139
Likes Given: 4
Likes Received: 18 in 16 posts
Joined: Nov 2013
Reputation: 1



Post: #3
RE: cancel item creation
03-12-2015 09:57 PM
Find all posts by this user Like Post Quote this message in a reply
Art
Journeyman
*

Posts: 118
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Apr 2012
Reputation: 0



Post: #4
RE: cancel item creation
Yes, but i need to not cancel whole spell. I want to delete just few specified tiles of field. Not sure that local.fieldwidth will help to me, because it gives just width from middle as i think. For better understand, imagine, if i would like to check for static walls on each tile where field appears, and if that point is not in line of sight from caster, then don't put field on that point.
03-14-2015 07:37 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)