Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ON=@Create under Typedef
Author Message
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #1
ON=@Create under Typedef
I´m trying to add a property to all my ores at the moment of his creation, but I don´t know why the @Create trigger doesn´t work under a Typedef definition.

My code:

[TYPEDEF t_ore]

ON=@CREATE
SERV.LOG Trigger activated
//I want add my tags here

Others triggers works with no problems, DClick, ClientTooltip, but Create dont.
@Create trigger works below ITEMDEF section of each ore item, but it would be easier to put all together.

Any ideas?
05-16-2012 07:37 AM
Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #2
RE: ON=@Create under Typedef
You can't use @Create under a TYPEDEF... only under the ITEMDEF itself can that be done.
05-16-2012 07:59 AM
Find all posts by this user Like Post Quote this message in a reply
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #3
RE: ON=@Create under Typedef
I supposed that, but I wanted some kind of confirmation. The Spherewiki don´t have anything about this.

I am trying now on @ItemCreate in characters, it seems that it would work like I wanted. Smile
05-16-2012 05:12 PM
Find all posts by this user Like Post Quote this message in a reply
Barnabus
Journeyman
*

Posts: 124
Likes Given: 0
Likes Received: 3 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #4
RE: ON=@Create under Typedef
We did have previous a whole thread on this matter.

It basically concluded an item does not have a typedef or anything else untill its actually created.
05-16-2012 08:33 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)