Smith |
Oh yeah (Moderator: BAH_Strike) | Previous Topic | Next Topic |
Page 1 of 1 |
keymarker:
markerID = GetSenderRef(); if(markerID == 0) { // pick up cup AttachThingToThingNode(cup, dude, 7, '0.017 0.01 0.0', '-90 25 0'); Sleep(0.65); PlaySoundThing(drink, dude, 1.0, -1, -1, 0x80); } if(markerID == 1) { // put cup back DetachThing(cup); SetThingPos(cup, cupstartpos); SetThingLook(cup, cupstartlook); PlaySoundThing(place, cup, 1.0, -1, -1, 0x80); } return; |
BAH_Strike wrote: |
LOL actually i broke every humanoid's aim orientation when working on fixing the turrets. its still broken. just 3 days ago i found that atan2(sin(x-y),cos(x-y)) is an excellent solution for finding the delta between a start/end degrees so the actor seizure problem might be solved soon.
libsa yea senderid would make sense but thres a couple crappy reasons why its not. in my framework senderid not a value u can supply when dispatching a message; it is determined internally based on any symbols that are linked.. so it would break the mold to make it supplied externally. |
Page 1 of 1 | |
Oh yeah (Moderator: BAH_Strike) | Previous Topic | Next Topic |