|
||
|
|
#1 (permalink) |
|
Join Date: Oct 2002
Age: 23
Posts: 4,689
|
When you have a Point3D, you can do
Point3D.ToString(). Although you cannot go back the other way from string to Point3D. The problem is that when I try to set location in-game, it becomes frivolous. Also, I cannot do [global or [area wipes of items at a certain location (for internal map pruning) because there is no Point3D to string equality operator. If a regular format is established (easily done, just use the format for ToString()), then there should be no problem to add these, and would make great additions to the power you can acheive in-game and out. All ideas are welcome as always. |
|
|
|
|
|
#2 (permalink) |
|
Master of the Internet
Join Date: Aug 2003
Posts: 5,688
|
you mean like
[global delete where type location == (x,y,z) this works. You just have to remember to format the location string to compare using (x,y,z) with the parens included.
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. " For questions, information, and support for XmlSpawner and its addons, visit the XmlSpawner Support Forum |
|
|
|
|
|
#4 (permalink) |
|
Master of the Internet
Join Date: Aug 2003
Posts: 5,688
|
note, you can also assign point3d props in the same way, like
[set location (x,y,z) basically, point3d structures can parse from strings as you were asking (just have to remember those parens)
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. " For questions, information, and support for XmlSpawner and its addons, visit the XmlSpawner Support Forum |
|
|
|
|
|
#6 (permalink) |
|
Master of the Internet
Join Date: Aug 2003
Posts: 5,688
|
yeah, you have to have actual numbers in there for the x,y,z like
[set location (1544,975,0)
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. " For questions, information, and support for XmlSpawner and its addons, visit the XmlSpawner Support Forum |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|