• Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Ronit.GAMES RonEngine Support / Wsparcie dla RonEngine Mapping / Tworzenie Map Jak zrobić napisy nad TP.

 
  • 0 Vote(s) - 0 Average
Jak zrobić napisy nad TP.
Ron
Offline

Administrator

Posts: 54
Threads: 29
Joined: Jun 2010
Reputation: 3
#2
14-05-2012, 12:50 PM
(02-05-2012, 09:46 PM)kretonus Wrote: Jak zrobić napisy nad tp?
np. takie
[Image: scaled.php?server=14&filename=efektyp.jpg&res=landing]

Za pomocą skryptu jedynie:

Do pliku triggers.xml możesz dodać wpis:
Quote:<trigger id="1" type="ON_LOOK" script="triggers/pokaz_napis.lua">
<look itemid = "98"/>
</trigger>

Do katalogu actions/scripts/triggers musisz dodać plik: pokaz_napis.lua:

Quote:function onTrigger(cid, item1, pos1, item2, pos2, trigger)
if trigger.id == 1 then -- ID Triggersa
if item1.type == 1930 then -- ID teleportu
if (pos1.x == 100 and pos1.y == 100 and pos1.z == 7) then
text1 = 'Opis teleportu.'
addEvent(doPlayerSendTextMessage,200,cid,22,text1)
return true
end
end
end
return false
end

Ów skrypt będzie wysyłał w czasie 200 milisekund od spojrzenia na teleport, napis: "Opis teleportu.".
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
Jak zrobić napisy nad TP. - by kretonus - 02-05-2012, 09:46 PM
RE: Jak zrobić napisy nad TP. - by Ron - 14-05-2012, 12:50 PM
RE: Jak zrobić napisy nad TP. - by kretonus - 14-05-2012, 08:57 PM
RE: Jak zrobić napisy nad TP. - by Ashanti - 24-09-2012, 01:45 PM
- - by BousSaum - 29-06-2022, 07:20 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode