Arrow pointer script

Post new topic   Reply to topic Script Sharing View previous topic :: View next topic  
Author Message
Cheiron



Joined: 21 Apr 2005
Posts: 388
Location: Copenhagen, Denmark

PostPosted: Mon Apr 10, 2006 5:17 am    Post subject: Arrow pointer script Reply with quote

Hiya,

thought I'd like to share this cyborg script. I feel it is especially handy for showing new users features, where to click etc....

also a question: maybe any of you scripting gurus knows a way to rationalize it more??

Regards,
Cheiron

#Arrowpointer script, by Cheiron.
#Places an arrow at mouse position, arrowprops needs to be in your propbag.
px, py = manor.getMouseRmPos()
if chatText == "pointup":
chatText = ""
manor.donProp("9D568CBE6748DEB195AE5A880A335540CD95CDBA")
manor.dropProp(px,py)
if chatText == "pointdown":
chatText = ""
manor.donProp("9D568CBE6748DEB195AE5A880A335540CD95CC5E")
manor.dropProp(px,py)
if chatText == "pointleft":
chatText = ""
manor.donProp("9D568CBE6748DEB195AE5A880A335540CD95CE57")
manor.dropProp(px,py)
if chatText == "pointright":
chatText = ""
manor.donProp("9D568CBE6748DEB195AE5A880A335540CD95CE02")
manor.dropProp(px,py)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Cheiron



Joined: 21 Apr 2005
Posts: 388
Location: Copenhagen, Denmark

PostPosted: Mon Apr 10, 2006 5:25 am    Post subject: Reply with quote

oops indentations vanished when submitting....
# lines at far left
if statements 4 spaces in
stuff under if statments 4 more... depending on your cyborg setup.

... and it goes in your outchathandler of course
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic All times are GMT - 6 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum