Ulysses Stuff > Suggestions

jail tp to coördinates

<< < (2/5) > >>

Neku:

--- Quote from: ULXGmodFan on May 27, 2014, 07:43:43 AM ---Could you maybe provide me with steps? I really don't understand which file I should make and which extention etc. Thanks alot

--- End quote ---

For the command or the data?

ULXGmodFan:
To make ULX tpjail work for a location somewhere

ULXGmodFan:
I'm sorry to ask it again but I really don't understand what I should change. Any help is greatly appreciated.

Cobalt:
Here's how I would go about doing it:
1. Create a blank data file to put your vector in
2. Hook initialize and read the file using util.StringToType (after you check if there is anything in it) and save that as a global vector
3. Create a ulx command to write a vector to that file using util.TypeToString (Have a function in it to refresh the global vector if you overwrite it)
4. Copy jailtp but instead of sending it to the position where you are looking, send it to the global vector instead.

Neku:
Here's what I came up with, I haven't tested it, so tell me if anything goes wrong.
I posted the code in the attachments.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version