|
|
Line 6: |
Line 6: |
| [[Engine Function:_setObjVar|<span style="color:#FF0000;font-weight:bold">setObjVar</span>]](this, <span style="color:#800000">"goodSound"</span>, 0x4C); | | [[Engine Function:_setObjVar|<span style="color:#FF0000;font-weight:bold">setObjVar</span>]](this, <span style="color:#800000">"goodSound"</span>, 0x4C); |
| [[Engine Function:_setObjVar|<span style="color:#FF0000;font-weight:bold">setObjVar</span>]](this, <span style="color:#800000">"badSound"</span>, 0x4D); | | [[Engine Function:_setObjVar|<span style="color:#FF0000;font-weight:bold">setObjVar</span>]](this, <span style="color:#800000">"badSound"</span>, 0x4D); |
− | <span style="color:#0000FF">return</span> (0x00);
| |
− | }
| |
− | http://wiki.uot2a.com/index.php?action=edit&title=3778
| |
− | <span style="color:#0000FF">inherits</span> [[Script:_Bladed|bladed]];
| |
− | http://wiki.uot2a.com/index.php?action=edit&title=3779
| |
− | <span style="color:#0000FF">inherits</span> [[Script:_Bladed|bladed]];
| |
− | http://wiki.uot2a.com/index.php?action=edit&title=3780
| |
− | <span style="color:#0000FF">inherits</span> [[Script:_Bladed|bladed]];
| |
− | http://wiki.uot2a.com/index.php?action=edit&title=3781
| |
− | <span style="color:#0000FF">inherits</span> [[Script:_Bladed|bladed]];
| |
− | http://wiki.uot2a.com/index.php?action=edit&title=3817
| |
− | <span style="color:#0000FF">inherits</span> [[Script:_Firstaid|firstaid]];
| |
− | http://wiki.uot2a.com/index.php?action=edit&title=3834
| |
− | <span style="color:#0000FF">inherits</span> [[Script:_Spellbook|spellbook]];
| |
− | http://wiki.uot2a.com/index.php?action=edit&title=3839
| |
− | <span style="color:#0000FF">inherits</span> [[Script:_Hairdye|hairdye]];
| |
− | http://wiki.uot2a.com/index.php?action=edit&title=3846
| |
− | <span style="color:#0000FF">inherits</span> [[Script:_Potion|potion]];
| |
− |
| |
− | <span style="color:#0000FF">trigger</span> creation
| |
− | {
| |
− | <span style="color:#0000FF">if</span> ([[Engine Function:_hasObjVar|<span style="color:#FF0000;font-weight:bold">hasObjVar</span>]](this, <span style="color:#800000">"power"</span>))
| |
− | {
| |
− | [[Engine Function:_removeObjVar|<span style="color:#FF0000;font-weight:bold">removeObjVar</span>]](this, <span style="color:#800000">"power"</span>);
| |
− | }
| |
− | <span style="color:#0000FF">return</span> (0x00);
| |
− | }
| |
− |
| |
− | <span style="color:#0000FF">trigger</span> use
| |
− | {
| |
− | <span style="color:#0000FF">if</span> (![[Script_Function:_Q4H6|<span style="color:#2B91AF">Q4H6</span>]](user))
| |
− | {
| |
− | <span style="color:#0000FF">return</span> (0x00);
| |
− | }
| |
− | [[Engine Function:_setInvisible|<span style="color:#FF0000;font-weight:bold">setInvisible</span>]](user, 0x00);
| |
− | <span style="color:#0000FF">int</span> Q4YJ = 0x0E;
| |
− | [[Engine Function:_doMobAnimation|<span style="color:#FF0000;font-weight:bold">doMobAnimation</span>]](user, 0x376A, 0x09, 0x20, 0x00, 0x00);
| |
− | sfx([[Engine Function:_getLocation|<span style="color:#FF0000;font-weight:bold">getLocation</span>]](user), 0x01E3, 0x00);
| |
− | [[Engine Function:_setLight|<span style="color:#FF0000;font-weight:bold">setLight</span>]](user, Q4YJ, 0x01);
| |
− | <span style="color:#0000FF">obj</span> Q4NN = [[Engine Function:_createGlobalObjectOn|<span style="color:#FF0000;font-weight:bold">createGlobalObjectOn</span>]](this, 0x0F0E);
| |
− | [[Engine Function:_deleteObject|<span style="color:#FF0000;font-weight:bold">deleteObject</span>]](this);
| |
| <span style="color:#0000FF">return</span> (0x00); | | <span style="color:#0000FF">return</span> (0x00); |
| } | | } |