Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- list targets = [];
- string stationname = "Station1";
- vector stationpos = <1,2,3>;
- default
- {
- state_entry() {
- }
- touch_start(integer total_number)
- {
- //Non-pseudocode version if you get 2 you didnt code the for loop right
- /*list can try make local do here */ targets=targets+[stationname]+[stationpos];
- llSay(0, (string)llGetListLength(targets));
- //llSay(0, targets); <- Type error LSO & Mono both
- integer i = 0;
- integer length = llGetListLength(targets);
- for(i=0; i<length;i++) {
- llSay(0, llList2String(targets, i));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement