Staredit Network

Staredit Network -> UMS Assistance -> Hay guys, I need help making a unit unclickable
Report, edit, etc...Posted by MarcX on 2005-12-08 at 11:55:03
I'm guessing this is done with disable doodad state? If I do that on my marine it's starts shooting air randomly. Is there any way I can make it move again?

What I'm aiming at is that opponents can see your unit but not select it. You have to be able to move the unit around as any other unit. The unit should preferably be a marine.

I used to be able to do such things, but I haven't touched map making for too long.

[Edit]This problem is solved, read third post (my second in this thread) for how I solved it. I am now looking for an explanation on how this could possibly happen, why does it happen? Why are the units cloaked if you do what I did?
Report, edit, etc...Posted by Mp)MinigameEast on 2005-12-08 at 12:12:31
this should help for the start

Description:
Number 3 In The Cloak/Disable list

Players:
¤ Player 1-8 (Mainly Yourself)
Conditions:
¤ Current Player Brings At Least 1 Men To Location 1
Actions:
¤ Wait 111

¤ Disable Unit At Location 1

¤ Wait 111

¤ Enable Unit At Location 1

¤ Wait 111

¤ Enable Unit At Location 1

¤ Wait 111

¤ Order Unit To Move From Location 1 To Anywhere

¤ Wait 111

¤ Move Unit From Location 1 To Location 2

¤ Preserve Trigger

¤ Comment "Disable Units (Moveable)"
Report, edit, etc...Posted by MarcX on 2005-12-09 at 06:22:29
Myeah, I tried several methods, including the one you just posted, and either the marine cannot be moved or it crashes me.

Would you mind making me a test map in which this is done (and working)?

[Edit]
Never mind, I'm a moron for trying to alter the trigger a bit (as in, creating unit in the same trigger as disabling, moving to a location instead of anywhere etc). It's working now. Gah, I should try to follow instructions precisely, instead of thinking I know how stuff works. How does this stuff work anyway? I mean, why does it work? Any hardcore seekers out there that actually care about why in the world stuff like this happens?

[Edit2]
Wait, ftw? It's crashing me again!

[Edit3]
Well, after much testing, it's not crashing me anymore. This is the trigger I am currently using (apparently, it need not be copied exactly after all).


Trigger
Description:
Cloak marine
Players:
¤ Computer player
Conditions:
¤ Always
Actions:
¤ Create 1 Marine for Current Player at cloakingspot
¤ Disable doodad state for any unit for Current Player at cloakingspot
¤ Wait for 10ms.
¤ Enable doodad state for any unit for Current Player at cloakingspot
¤ Issue order to all any unit owned by Current Player, move from cloakingspot to anywhere.


You can only make 1 marine with this trigger. Put a condition to the number of marines that you want and then preserve it, if you want more of them.

Note that the unit will cause starcraft to crash in the first few hundred ms, if seen then, and it will only cloak after about a second.


In another trigger I fetch it from cloakingspot to a new location, and give it to the player that needs it.

I STILL DONT UNDERSTAND WHAT MAKES THIS WORK

SOMEONE ANYONE PLEASE EXPLAIN


</stealth bump>
Report, edit, etc...Posted by Mp)MinigameEast on 2005-12-09 at 17:36:24
i dont understand either but its better off using the method i gave you.
if you want it just for that unit at that location then just take off the preserve trigger and make location 2 into location 1
Report, edit, etc...Posted by MarcX on 2005-12-10 at 06:57:42
How is it better off? Mine works faster happy.gif

Although I changed the 10ms back into 50ms because in rare cases the 10ms isn't enough.
Next Page (1)