Ulysses Stuff > Suggestions
Teleport System
bubblecon11:
I think it would be useful for there to be a command to set a teleport for a usergorup, ie: !tp admin; for an admin room to talk to people for whatever reason needed.
nathan736:
would be easy but would serve no pupose in sand box but would be GREAT in dark rp and other game modes but this sounds way to easy to do
--- Code: ---ply:SetPos( Pos )
--- End code ---
!tp admin command in a nut shell
Megiddo:
Your suggestion is highly ambiguous. Teleport to admins? Teleport to a set waypoint for admins? Only allow admins to do this?
* Megiddo wanders off in confusion
nathan736:
hes refering to a admin room in the map that would other wise involve no clip or a long walk (eg 3 mins?)
in a nut shell !tp admin
function tpadmin(caller,target)
local setingx=
local setingy=
local setingz=
if target ==nil then
-- play fancy noise if you want and do some sound stuff too
caller:setpos(setingx,setingy,setingz)
else then
if target:isvalid() then
target:setpos(setingx,setingy,setingz)
end
things to note this can cause adverse experience in high lag maps that have a lot of players if prop count is unrestricted because teleporting to areas with a load of props in one shot will leave no time to load it and likely cause a buffer net overflow.
Duke Nukem:
--- Quote from: Megiddo on April 11, 2013, 07:24:59 AM ---Your suggestion is highly ambiguous. Teleport to admins? Teleport to a set waypoint for admins? Only allow admins to do this?
* Megiddo wanders off in confusion
--- End quote ---
He's saying something like, if you were to execute the command.
!tp <usergroup> <user>
like, !tp admin Duke, which would teleport all the admins to me.
Navigation
[0] Message Index
[#] Next page
Go to full version