1
Fork 0
mirror of https://github.com/Steffo99/stack.git synced 2024-11-25 17:24:21 +00:00

Mouse casuale.

This commit is contained in:
Steffo 2013-07-04 20:22:15 +03:00
parent 6d4404c14d
commit 43c1803669
2 changed files with 110 additions and 24 deletions

View file

@ -115,34 +115,12 @@ instance_create(mouse_x,mouse_y,totem_list[selected]);
pile = pile + 1; pile = pile + 1;
//Seleziona un altro totem casuale. //Seleziona un altro totem casuale.
selected = irandom(totalitems); selected = irandom(totalitems);
//Metti il mouse in una posizione casuale sullo schermo. Bwhahaha!
display_mouse_set(irandom(640), irandom(480));
</string> </string>
</argument> </argument>
</arguments> </arguments>
</action> </action>
<action>
<libid>1</libid>
<id>611</id>
<kind>6</kind>
<userelative>-1</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>-1</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>pile</string>
</argument>
<argument>
<kind>0</kind>
<string>+1</string>
</argument>
</arguments>
</action>
<action> <action>
<libid>1</libid> <libid>1</libid>
<id>424</id> <id>424</id>

View file

@ -61,6 +61,58 @@
</argument> </argument>
</arguments> </arguments>
</action> </action>
<action>
<libid>1</libid>
<id>404</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>-1</isquestion>
<useapplyto>0</useapplyto>
<exetype>1</exetype>
<functionname>action_if_number</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>10</kind>
<object>m_totem</object>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
<argument>
<kind>4</kind>
<string>2</string>
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>611</id>
<kind>6</kind>
<userelative>-1</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>-1</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>m_totem.pile</string>
</argument>
<argument>
<kind>0</kind>
<string>-1</string>
</argument>
</arguments>
</action>
</event> </event>
<event eventtype="4" ename="boom"> <event eventtype="4" ename="boom">
<action> <action>
@ -198,6 +250,48 @@ physics_draw_debug();
</action> </action>
</event> </event>
<event eventtype="9" enumb="82"> <event eventtype="9" enumb="82">
<action>
<libid>1</libid>
<id>404</id>
<kind>0</kind>
<userelative>0</userelative>
<isquestion>-1</isquestion>
<useapplyto>0</useapplyto>
<exetype>1</exetype>
<functionname>action_if_number</functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>10</kind>
<object>stack</object>
</argument>
<argument>
<kind>0</kind>
<string>0</string>
</argument>
<argument>
<kind>4</kind>
<string>2</string>
</argument>
</arguments>
</action>
<action>
<libid>1</libid>
<id>422</id>
<kind>1</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>0</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
</action>
<action> <action>
<libid>1</libid> <libid>1</libid>
<id>611</id> <id>611</id>
@ -250,6 +344,20 @@ physics_draw_debug();
</argument> </argument>
</arguments> </arguments>
</action> </action>
<action>
<libid>1</libid>
<id>424</id>
<kind>2</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>0</useapplyto>
<exetype>0</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
</action>
<action> <action>
<libid>1</libid> <libid>1</libid>
<id>203</id> <id>203</id>