How can make teleport item with lua?
+Rep for helper
How can make teleport item with lua?
+Rep for helper
Last edited by Iluox; 06-02-2008 at 05:25 AM.
Add Reputation they who help you!
Use search.
i am already tested it and don't find anything
Add Reputation they who help you!
Last time I heard, you can't because you can't register items.
Five Gum!
ok. thanks and +rep
Add Reputation they who help you!
You mean in a Private Server, eh?
If so, i have a LUA for that.
OBS! This is a LUA that teleports you with a GameObject, How to use this:
*First. Paste this in to your Navicat, HeidiSQL etc..
*Second. Paste this in to Notepad and save it as Portal.lua in your scripts folder located in your Ascent folder.Code:INSERT INTO `gameobject_names` VALUES ('999999', '1', '1327', 'LUA Portal', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
*Third. If you want to change the location, simply change the coords.Code:function Teleporting_onUse (pUnit, Event, pMisc) pMisc:Teleport (1, 4615.02, -3858.68, 944.155) end RegisterGameObjectEvent (999999, 2, "Teleporting_onUse")
P.S: the coords are the numbers in the red..
*Fourth. Now spawn the GameObject by writing ".go spawn 999999 1".
Last edited by Greeko; 06-02-2008 at 07:06 AM.
Very good, but i mean teleporting item, but still +rep
Add Reputation they who help you!
OBS! I've found it. I do not take credits for this, i didnt make it and i didnt upload it.
I've got this from Spartansp so credits goes to him i think.
This is a LUA that teleports you with a Item, How to use this:
*First. Paste this in to your Navicat, HeidiSQL etc..
*Second. Download this file. The file is protected with password, the password is "spartansp".Code:INSERT INTO `items` VALUES ('60001', '8', '-1', '-1', 'Custom Teleporter.', 'Custom Teleporter.', 'Custom Teleporter.', 'Custom Teleporter.', '42629', '1', '0', '0', '0', '0', '1503', '1791', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '33208', '0', '579', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', 'Never Be Lost Again!', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', null, '0', null, '0', '0', '0', '0', '0', '0', '0', null, null, '0', '-1', '0');
*Third. Put the .DLL file (the file you just downloaded) in your scripts_bin folder located in your Ascent folder.
*Fourth. Now add the item by writing ".additem 60001"
THREAD UPDATED!
Sorry GP and 2D for double posting.
Last edited by 2dgreengiant; 06-02-2008 at 11:02 AM. Reason: double post, merged
can someone post it unlocked.i cant pass the password protection![]()
You can't do it in LUA unfortunatly... yet.
Ooh my misstake hähä, im a little retarded you know -.-
OFFTOPIC: Btw Gastric, i wounder how does this "Rank system" and "Rep power" system
work? o.O Do i get a new rank every 100 post or?.. And with the rep power, how do i get
rep power? How much do i need to rep to get to (Example: 2 rep power)?
Last edited by Greeko; 06-04-2008 at 02:08 PM.