This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:createegg [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:createegg [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 6: | Line 6: | ||
===== Description ===== | ===== Description ===== | ||
- | Creates an egg at the specifid | + | Creates an egg at the specified |
The egg's UID is pushed to the stack after this call. If the egg is not created (because of the egg limit), a value of -1 is returned. | The egg's UID is pushed to the stack after this call. If the egg is not created (because of the egg limit), a value of -1 is returned. | ||
The possible values in initTable are:\\ | The possible values in initTable are:\\ | ||
* " | * " | ||
* " | * " | ||
- | * "moveTo" : The location for the egg to move to. A Vector3. | + | * "moveto" : The location for the egg to move to. A Vector3. |
- | * "showPathLine" : If the egg should draw a line to its moveTo position. A bool. | + | * "showpathline" : If the egg should draw a line to its moveTo position. A bool. |
- | * "showPathLineColor" : The color of the pathLine, if any. A Vector4. | + | * "showpathlinecolor" : The color of the pathLine, if any. A Vector4. |
===== Examples ===== | ===== Examples ===== |