, . , , , - , . , C/++, .
( TES Construction Set ):
script MagicCaveDoorScript
on UseAction
if HasItem magicDoorKey
PlaySound2D magicDoorOpen
ChangeArea magicCave01
else
Message "You need the magic door key to enter..."
end
end
end
- , , , , , , Lua Squirrel , ..
One of the good aspects of creating a “simpler” scripting language is that the implementation is not as complicated as more complex languages, and it will also allow you to easily create tools for creating scripts using the graphical interface, for example, choose from a list of sounds to play, a list monsters to attach, etc.
source
share