Annotation of /branches/taiga-0.1/ModularRex/ScriptEngines/PythonScript/Samples/samplemediaurl.py
Parent Directory
|
Revision Log
Revision 341 -
(view)
(download)
(as text)
Original Path: branches/os-0.6.9-post-fixes/ModularRex/ScriptEngines/PythonScript/Samples/samplemediaurl.py
| 1 : | mikkopa | 81 | import rxactor |
| 2 : | import rxavatar | ||
| 3 : | import sys | ||
| 4 : | import clr | ||
| 5 : | |||
| 6 : | import random | ||
| 7 : | import math | ||
| 8 : | |||
| 9 : | |||
| 10 : | class MediaUrlTest(rxactor.Actor): | ||
| 11 : | mikkopa | 284 | @staticmethod |
| 12 : | mikkopa | 81 | def GetScriptClassName(): |
| 13 : | return "samplemediaurl.MediaUrlTest" | ||
| 14 : | |||
| 15 : | def EventCreated(self): | ||
| 16 : | super(self.__class__,self).EventCreated() | ||
| 17 : | print "samplemediaurl.MediaUrlTest EventCreated" | ||
| 18 : | |||
| 19 : | def EventTouch(self,vAvatar): | ||
| 20 : | self.llShout(0,"Changeing MediaURL to http://www.realxtend.org/") | ||
| 21 : | mikkopa | 320 | self.rexSetTextureMediaURL("http://www.realxtend.org/", 1) |
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

