• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] permament hold position?

Status
Not open for further replies.
Level 2
Joined
Jul 2, 2007
Messages
6
is it possible, through a trigger; to make a unit hold position pemamently. And No im not changing it to a building so dont suggest that

1.) Iver tried If player selects, then deselect, well i pauses and gives u the chance to still move the unit.

2.)The trigger that can change movement speed to 0 doesnt work.... or is not permament and resets once you issue a movement command, etc...

The only thing i can think off is if unit Selects a unit that shouldnt move to make a trigger with Integer A 1 - 100 loop where its wait .1 second make unit hold position but wont this cause unecessary leaks and possibly lag the game if to many people are doing it...


So if anyone knows of a perma Hold Position where a player can not break it plz post. I still want the player to be able to select the unit just not make it move. Please to tell me to just change the movement speed to 0 in the unit editor cause i dont want that.

Also if possible make so i dont have to change it to a perhaps a computer and retain color.
 
Level 6
Joined
Jan 7, 2007
Messages
247
Well, every xx seconds would work. And no, it won't cause alot of lag.

  • Melee Initialization
    • Events
      • Time - Every 0.01 seconds of game time
    • Conditions
    • Actions
      • Unit - Order Paladin 0000 <gen> to Stop
But unit with permanent stop cannot attack\use spells and etc..
 
Level 6
Joined
Mar 8, 2007
Messages
192
wouldnt something like this work:

A unit recieves a order

Order - Current order of unit is equal to smart/move/insertorder

Unit - Order triggering unit to stop


Something like that.
 
Level 6
Joined
Mar 8, 2007
Messages
192
Ahh is it so hard to guess something... realy now.

  • Unit - A unit Is issued an order targeting a point
  • (Issued order) Equal to (Order(smart))
  • Unit - Pause (Ordered unit)
You can use this in any variation... wasnt thard hard eh?

Anyways the trigger set movementspeed should work atleast it did work for me, but i think you missed one step and forgot to set the minimum movementspeed to zero in the Gameplay Constants.
 
Level 6
Joined
Mar 8, 2007
Messages
192
Uhh yeah i forgot a additional condition, also iam using string conversations... but they should be able to figure that by themselve.
 
Level 6
Joined
Mar 8, 2007
Messages
192
why they just dont ask for a full trigger? or give them the map then so other people can implent it?
Would be much easier like this.

This isnt logic, this is just your opionion how you think of people, or talking from your own experiences. Imho
 
Status
Not open for further replies.
Top