Week 1 consisted of basic LSL scripting and touch interactions with Prims.
First task was to create a Prim that would state the Avatars name and count to 10. Using the command llGetDisplayName and llDetectedKey it was possilbe to broadcast this on channel 0 (Could also use llOwnerSay if I just wanted to boradcast to myself.
Next using a do while loop and the ++ function, it was possible to count to 10 (setting parameters to a <11)
The Second Task was even easier. We had to script so that a Prim would announce how many times it was tocuhed. No restrictions or loops were needed for this. Just the ++ fucntion. the Integer had to be declared globally.

No comments:
Post a Comment