Skip to content
User Avatar
#327
Auto-translated
Iron Wolf
Guys, please tell me, I added a message box to a multiplayer map that appears when interacting with an object, but when player 1 interacts with the object and receives the message box, all other players see the same message box on their next turn. Is it possible to make it so that only the hero who interacted with the object sees the message box, while any player can interact with the object and see the message box?
djulian13
No matter what our math teacher says, you can also go home through the covered market.
A system of QuestionBox-es asking the player which faction they are playing as would allow for:
ShowFlyingSign( spTXT, sObjectName, nPlayerID, nTimeSec)
Displays the message spTXT to player nPlayerID, flying away from object sObjectName within nTimeSec.
Ideally, you could also use something like if GetObjectOwner('player_starting_city') == PLAYER_1 then
elseif GetObjectOwner('second_player_starting_city') == PLAYER_2 then
and so on.
I don't know how else – maybe more experienced map makers know.
Sincerely.
Here is one of my posts to help you. For future reference: use search ;) Here
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...

Statistics

Welcome our newest member: wayal