Detecting the Unit that...

Status
Not open for further replies.
Level 13
Joined
Sep 14, 2008
Messages
1,408
He has a neutral unit. E.g. Goblin Laboratory.
That unit has a spell. E.g. reveal (its what the goblin thing has isn't it?)

Now he wants to detect the player who uses the spell.


I am not sure about that but just give triggering player a chance :D
It sometimes work although I don't understand why myself :/
 
Level 14
Joined
Mar 4, 2009
Messages
1,156
easy....

EVENT
unit enters playable map area
CONIDITON
unit type of entering unit equal to your unit


entering unit - unit that is summoned
player that summoned a unit - owner of entering unit

and try event

unit spawns a summoned unit

EDIT: btw thanks for warning xD,good to know xD

sorry,i just search some thing and when i see i could answer something that was not ...
ok but now i know
 
Alien95, stop necroposting. It's not the first time you do that.
Rules said:
Thread Revival - Necroposting

Bumping old or inactive ("dead") threads is occasionally called "necroposting" or "thread necromancy" and the bumping posts referred to as "frankenposts."
Hive Workshop users are permitted to post in threads within six months of the thread's most recent post.
Posting in a thread 15 days after the most recent reply is considered necroposting.
Necroposts are permitted if:
The thread is being revived for a valid reason.
The reviving post asks an important question, adds relevant detail and / or enhances the topic under discussion.
The user alerts moderators prefacing the reviving post with a notation such as: Bump! *revive* [necro]
Posts that violate these rules may be deleted by moderators without warning.
Users who consistently violate these rules may be punished.
 
Level 12
Joined
Aug 22, 2008
Messages
911
Ok, I'm pretty sure this will work.
What I'm doing is making the shop sell a dummy unit that is immediately destroyed after purchase. I then find the player that purchased the unit!
BTW, since Pharaoh was the last to post, I'm pretty sure I'm not necroposting.
  • Events
    • Unit - A unit sells a unit
  • Conditions
    • (Unit-type of (Sold Unit)) equal to YourAbility
  • Actions
    • Set ThePlayerWereLookingFor = (Owner of (Buying Unit))
    • Unit - Kill (Sold Unit) / Remove (Sold Unit) from the game
 
Level 11
Joined
Jun 30, 2008
Messages
580
Alien95, stop necroposting. It's not the first time you do that.

Originally Posted by Rules
Thread Revival - Necroposting

Bumping old or inactive ("dead") threads is occasionally called "necroposting" or "thread necromancy" and the bumping posts referred to as "frankenposts."
Hive Workshop users are permitted to post in threads within six months of the thread's most recent post.
Posting in a thread 15 days after the most recent reply is considered necroposting.
Necroposts are permitted if:
The thread is being revived for a valid reason.
The reviving post asks an important question, adds relevant detail and / or enhances the topic under discussion.

The user alerts moderators prefacing the reviving post with a notation such as: Bump! *revive* [necro]
Posts that violate these rules may be deleted by moderators without warning.
Users who consistently violate these rules may be punished.

Please... Don't be a dick....

Anyway Alien, thank you so much, that was the best answer I got, and it was Relevant detail. Don't get beat up by these guys, half of them are talking out their ass.

Proof of how this is relevant: The question was answered to an unanswered question. The response was descriptive as well as helpful. + rep Alien, and seriously Pharaoh?? Do you not have anything else better to do?....
(Not trying to be rude... just tired of shit like this going on.)

Off topic but Relevant:

Originally Posted by Rules
Thread Revival - Necroposting

Bumping old or inactive ("dead") threads is occasionally called "necroposting" or "thread necromancy" and the bumping posts referred to as "frankenposts."
Hive Workshop users are permitted to post in threads within six months of the thread's most recent post.
Posting in a thread 15 days after the most recent reply is considered necroposting.

Necroposts are permitted if:
The thread is being revived for a valid reason.
The reviving post asks an important question, adds relevant detail and / or enhances the topic under discussion.

The user alerts moderators prefacing the reviving post with a notation such as: Bump! *revive* [necro]
Posts that violate these rules may be deleted by moderators without warning.
Users who consistently violate these rules may be punished.

The part in Teal is hypocritical is it not? I'm allowed to post in threads within 6 months of the thread's most recent post but can only be 15 days after the most recent reply?.... *FacePalms*

I say to the moderators and admin of this site: Phail. With a capital P!
 
Status
Not open for further replies.
Top