• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-1250
Type: Bug Bug
Status: Resolved Resolved
Resolution: Duplicate
Priority: Major Major
Assignee: Unassigned
Reporter: Cheshyr Pontchartrain
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

llGetStartParameters() returns 0 in Havok4

Created: 24/Jan/08 07:34 AM   Updated: 29/Apr/08 01:14 PM
Return to search
Component/s: Physics
Affects Version/s: Havok4 Beta
Fix Version/s: None

Issue Links:
Duplicate
 
Relates
 


 Description  « Hide
Under Havok4, the function llGetStartParameter() does not work. It returns 0 every time, no matter what value was passed to the object when rezzed.

While it is easy to workaround with a global variable, it breaks many existing scripts.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Strife Onizuka added a comment - 24/Jan/08 04:58 PM
Could you post a script that exhibits this change in behavior.

Cheshyr Pontchartrain added a comment - 24/Jan/08 06:18 PM
Place this script in a prim.

default
{
on_rez(integer p)

{ llSay(0, "Passed starting parameter " + (string)p); llSay(0, "Rezzed: starting parameter = " + (string)llGetStartParameter()); }

}

Create a second prim. Place the object you created above inside it, along with this script:

default
{
touch_start(integer total_number)

{ llRezObject("Object", llGetPos() + <0.0, 0.0, 0.5>, ZERO_VECTOR, ZERO_ROTATION, 15000); }

}

On a Havok1 sim, the result will be properly given as 15000. On a Havok4 sim, it reports 0 every time.