make unit unuseable by player

johnnymra

New Member
You could just use the trigger 'Unit - Pause Unit'.

Or you could save the unit as a variable and make it controlled by neutral passive, then controlled by the player again when you wish.

You should explain the purpose of this "uncontrollability"...
 

NBalfa

New Member
ok
I mean owned by the player moveable but the player can not select where that unit moves
 

NBalfa

New Member
well but in this case an ally may attack him as if he is an enemy and he will change colour
 

Dirac

22710180
There's a boolean check at the "change owner" action that allows you to or not change the unit's colour when the ownership changes
 

Dirac

22710180
Create a trigger that prevents units from attacking it, as in

Event - Unit is Ordered targeting an unit
Condition - Order equal to "attack" and Unit belongs to Neutral passive
Actions - Order unit to Stop
 

NBalfa

New Member
Edit actually if you do it this way yet spells will be casted to the target and you will be unable to follow this unit as attacking will be prevented
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Could you define what you need to be "impossible to be controlled"? Can it cast spells, move, attack etc.?
 

NBalfa

New Member
the unit cant be controlled by the owner
the unit can move if told by a trigger but this is the only way
so please tell me how can I make this unit unabled to be controlled by every player but still owned by the player
 

Dirac

22710180
whats wrong with Pause the unit then?

Maybe if you add Orc Burrow (disables attacks), silence the unit and entangle it to the floor you'll get what you want
 

NBalfa

New Member
forgot I also want the unit to be able to attack
pause the unit does not make the unit able to move or attack
imagine that you want a unit group to move towards a place and the same time to make this unit group unable to be used by this player but attackable by an other one
so what I need is a unit with no locust!!!!! not paused not hidden and not invulnerable
and remember I want it to be able to move!!!!! and not attack the allies it is supposed to have for example if you have these units and they are ordered to move-attack to a point they wont attack your units if you sellect them you cant make them move in a different place and you cant attack them.
 

LittlePerv

New Member
Maybe u are looking 4 this...
Event
(unit - specific unit event)

Unit -<name of the unit> Is selected

Condition

none

Actions
(Selection - remove unit from selection for player)

Selection - Remove <unit's name> from selection for Player 1 (Red)


That makes unit Unselectable for a player so its pretty much unusable, unless you have super natural speed and are able to select and within a milisecond order unit to attack :D
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • midnight8 midnight8:
    i may have some time, pretty sure I brought covid home from vegas, got tested today, will know for sure tomorrow or next day
  • The Helper The Helper:
    that sucks
  • jonas jonas:
    @midnight8 how is it looking
  • midnight8 midnight8:
    meh, me, wife and her friend thaty traveled with us all have covid, seems to be winding down some for me at least. Felt like complete shit, been sleeping a lot, just bieng lazy as hell. I feel like that today has probably been like 11 or 12 days since exposure. Have not had any fever today, and have not taken any meds, so hopefully by monday or tuesday I will be good to go, sadly have passed it on to our teen son, I guess that was pretty much unavoidable
  • The Helper The Helper:
    hope you get to feeling better and get vaccinated my friend
  • midnight8 midnight8:
    I will at some point, but so many vaccinated people still getting it. One of the bands we watch in vegas, all 4 had been vaccinated and are now positive.
  • Ghan Ghan:
    Symptoms?
  • Ghan Ghan:
    I think the symptoms are typically less severe if previously vaccinated.
  • midnight8 midnight8:
    I have had all of the symptoms, taste is slightly starting to come back, but smell, no. Honestly, just been a little miserable, have never felt in any danger from it. Being trapped at home sucks. lol
  • midnight8 midnight8:
    meh, got a little fever again this morning, guess gonna be a few more days
  • The Helper The Helper:
    I went to Comicon this last weekend I hope I dont get it I feel fine and I am not vaccinated and did not wear a mask
  • The Helper The Helper:
    Comicon really was not packed though like it was in the past. I am not really worried though it was the most people I have been around in a year.
  • tom_mai78101 tom_mai78101:
    Still, getting vaccinated is a good idea. We're getting Delta variant spikes here in Boston.
  • The Helper The Helper:
    I am not against vaccination at all I just have a serious procrastination problem I plan on getting vaccinated soon
  • midnight8 midnight8:
    was kinda same with me, I was gonna do it, and life got in the way.
  • midnight8 midnight8:
    we wore mask in some places, but at 118 degrees outside, little rough. :)
  • The Helper The Helper:
    yeah i had another friend in Vegas talking about that heat damn
  • The Helper The Helper:
    Well I do not think I got Covid from the Comicon
    +1
  • tom_mai78101 tom_mai78101:
    Pushed out a new Pokemon Walking algorithm build. With a new system in place, I'll probably start tackling triggers and NPCs,
    +1
  • Varine Varine:
    Is it fucking hot everywhere?
  • Varine Varine:
    What's a pokemon walking algorithm?
  • jonas jonas:
    it's an engine for pokemon games that closely emulates the walking behavior of pokemon red/blue/yellow
  • jonas jonas:
    basically if you wanted to implement pokemon yellow from scratch, and you'd want it to feel as close as possible to the real thing, you'd start with that
  • Varine Varine:
    Like from the Gameboy games? I'm not at all familiar with Pokemon.
  • jonas jonas:
    yeah

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome
    Top