Added 5 hours and 18 minutes ago
In general, I need a script that, upon entering the city with the artifacts of Sar-Iss, registers a victory.
New here? I'm Roha — want a quick tour?
function visitTown(hero)
if
HasArtefact(hero, ARTIFACT_ROBE_OF_MAGI) and
HasArtefact(hero, ARTIFACT_STAFF_OF_MAGI) and
HasArtefact(hero, ARTIFACT_CROWN_OF_MAGI) and
HasArtefact(hero, ARTIFACT_RING_OF_MAGI)
then
Win()
end
end
Trigger(4, 'имягорода', 'visitTown')
/topic/3747/
There's a lot of information in this thread.
/files/10086/>
This section contains many manuals, including for the map editor and scripts.
/files/10086/>
This section contains many manuals, including for the map editor and scripts.
Sorry, but the description of script functions in Russian doesn't work.
Extract from the archive. It opens with a program like "Excel".
I can't figure out this script. I need a fireball animation on the world map. I found it in the Nival campaign. It seems like I understand it now, but what is "boom"?
Here is the script: PlayVisualEffect( FIREBALL, '', 'boom', x, y, 0, 0, GROUND );
Play3DSound( "/Sounds/_(Sound)/SFX/FireballHitMono.xdb#xpointer(/Sound)", x, y, 0);
We need a function to assign a town to the first player.