Skip to content
User Avatar
#2466
Auto-translated
1) If there is a script editor, then there are no problems. Otherwise, put it in the map folder, for example: maps/single_missions/multiplayer/karta1.h5m/text1.txt. The path in the message box will be something like this (approximately). That is, put it not just in a file, but at its very end. There will be several more files there, so you won't make a mistake. 2) `setobjectf` has several standard teleportation animations. By default, the hero moves as if entering a portal. But there are other effects as well. And if you are interested in completely different effects, for example, a spell, etc., then you need to create an effect on the same cell using another script function, in addition to the teleportation. (It seems to be called "play visual effect"). 3) `CreateMonster ('WRAIGHT', 40, 1, 68, 59, 0, 0, 0, 45)` 1 - script name of the monster, then we can do `PlayObjectAnimation ('WRAIGHT', happy, IDLE)` (I wrote this approximately and not quite accurately). 2 - creature ID (1 - crusader, 2 - militia, 14 - archangel, etc.) 3 - number of creatures 4 - position on the x-axis 5 - position on the y-axis 6 - floor ID (1 - underground, 0 - above ground) 7, 8 - monster's mood (see the manual) 9 - rotation (in degrees) This function has its drawbacks, for example, sometimes the monster is generated not exactly in the place where it should be.

Whatever

Statistics

Welcome our newest member: leyu