Skip to content
User Avatar
#724
Auto-translated
RedHeavenHero
If they are in the town, then yes, but in general, it should work.
function killBrem()
Trigger(5,'town1',nil)
if GetHeroTown('Brem') then
SetObjectPosition('Brem',1,1,0)
end
RemoveObject('Brem')
end
Trigger(5,'town1','kilBrem')
It will work 100%.

Does the hero's name in quotes need to be written with " or ' – does it matter?
By the way, it won't work)) you forgot the semicolon.
You don't need to worry about whether he is in the town or not.

готовность 70% PAUSED
Don't pretend to be a victim.