Team Spartan Cookies & Milk Forums
SF tele func - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Starfall (https://teamscm.co.uk/forum-7.html)
+--- Thread: SF tele func (/thread-555.html)



SF tele func - LocInt - 25-10-2014

Yo,

There is such tele function in E2. Any chance it could be in SF too?

I really wish to tele myself around.

--Loc


RE: SF tele func - Blackhawk - 25-10-2014

If you are searching a function for teleportation, use entityConfusedetPos(). For your information, setPos() works only for you.


RE: SF tele func - LocInt - 26-10-2014

setPos() does not work to players only to props and entities. tele() worked to players in E2.

(25-10-2014, 09:23 PM)_BL4CKH4WK Wrote: If you are searching a function for teleportation, use entityConfusedetPos(). For your information, setPos() works only for you.



RE: SF tele func - Blackhawk - 26-10-2014

setPos() works for players, but only for the owner of the chip. There is no other teleportation function in sf as far as I know. You'll have to use the transporter pad or the asgard beam.
The sf documentation should help you if you are searching any other functions: http://teamscm.co.uk/sfdoc


RE: SF tele func - LocInt - 27-10-2014

(26-10-2014, 09:01 PM)_BL4CKH4WK Wrote: setPos() works for players, but only for the owner of the chip. There is no other teleportation function in sf as far as I know. You'll have to use the transporter pad or the asgard beam.
The sf documentation should help you if you are searching any other functions: http://teamscm.co.uk/sfdoc

I have tried setPos() myself to Vector(0,0,0) but it wont allow it. I have searched the whole sfdoc twice so yes I know where to doc is.

I'm here to request such a function not to search alternatives.


RE: SF tele func - Blackhawk - 27-10-2014

(27-10-2014, 08:31 AM)LocInt Wrote: I have tried setPos() myself to Vector(0,0,0) but it wont allow it. I have searched the whole sfdoc twice so yes I know where to doc is.

I'm not sure why it doesn't work for you, I'm using it very often without any problems, are you sure that you used it correct?

For example:
ents.owner()ConfusedetPos(ents.owner():pos()+Vector(100,0,50))



RE: SF tele func - Person8880 - 27-10-2014

How recently did you last try it? Before 2 days ago it would have denied it, but now it shouldn't.


RE: SF tele func - LocInt - 28-10-2014

I tried it like a week ago. Big Grin great!