Powered by Invision Power Board

 
    Reply to this topicStart new topicStart Poll

> gm6 code help, not solved
United States
FailMan
Posted: Jun 13 2007, 04:37 PM
Quote Post


And I'd like to introduce you to the prime minister of engla
[*][*]

Group Icon
Group: Members
Posts: 650
Member No.: 3389
Joined: 2-March 07

Status: (0d) [--]


CODE

if(current_time=0.001 mod room_speed=10 == 0) && (round(random(1)))
instance_create(320,144,apoclapse_shroom)

whats wrong with that code?
for some reason the item thats suppposed to be spawning is not spawning.

This post has been edited by Sgt. Teddy on Jun 14 2007, 07:46 AM


--------------------
Whatever.
PMEmail PosterAOL
Top
United States
Xgoff
Posted: Jun 13 2007, 04:45 PM
Quote Post


<):|
[*][*][*][*][*]
[*][*]

Group Icon
Group: Members
Posts: 52341
Member No.: 24
Joined: 13-October 03

Status: (0d) [--]


i don't know s*** about gml but:

current_time=0.001 mod room_speed=10

shouldn't the equal signs be asterisks

This post has been edited by Xgoff on Jun 13 2007, 04:46 PM


--------------------

This post may contain original research or unverified claims.
Please disregard the above information and contact an administrator.

DISCLAIMER: by sending me (xgoff) a private message, you agree to the directives and their terms specified henceforth:
DIRECTIVE 1 (APPLE): i may or may not reply promptly or at all; and there are no guarantees to the usefulness of the reply. i may not acknowledge whether i have even received your private message
DIRECTIVE 2 (CHILE CON CARNE): as per my view, "private" applies only to the initial transaction, and the material of your message may or may not be made public at my discretion; as this will more than likely be a post in the CCC or IRC, you may not be able to view it
DIRECTIVE 3 (FEATHER DUSTER): you must address me (xgoff) as "Sir Master Xgofficus his Highest and Most Awesome the Third"; failure to comply with this term may invoke one or both of the above directives, and i will leave a burning bag of **** on your doorstep
DIRECTIVE 4 (BOOTSTRAP): if you have read this disclaimer, please private message me promptly, in compliance with the above terms, so i can ensure you are capable of following directions you idiot
this concludes the test of the emergency disclaimer system, your scheduled programming will now continue. satisfaction guaranteed, and 100% cash back available under certain circumstances; restrictions may or may not apply within your place of residence
NOTICE: these directives and their terms may change at any time, without notice; as a private message transaction to myself assumes an understanding and full compliance of the above, you should ensure you are fully aware of the above terms at any point before sending a private message; any message received is assumed to have been sent in compliance with the above

QUOTE
(5:25:58 PM) Mikau: xgoff
(5:26:00 PM) Mikau: guess what
(5:26:04 PM) Xgoff: chicken butt
(5:26:09 PM) Mikau: **** you
PMEmail PosterUsers WebsiteAOLMSN
Top
United States
FailMan
Posted: Jun 13 2007, 04:51 PM
Quote Post


And I'd like to introduce you to the prime minister of engla
[*][*]

Group Icon
Group: Members
Posts: 650
Member No.: 3389
Joined: 2-March 07

Status: (0d) [--]


the error is:
At position 2:Symbol ) expected


--------------------
Whatever.
PMEmail PosterAOL
Top
Finland
Ultramario
Posted: Jun 13 2007, 05:00 PM
Quote Post


Dan Dan Dan!
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 11240
Member No.: 2164
Joined: 9-June 06

Status: (0d) [--]


EDIT: NVM

This post has been edited by Ultramario on Jun 13 2007, 05:02 PM


--------------------
PMEmail PosterUsers WebsiteAOL
Top
United States
Grant
Posted: Jun 13 2007, 05:05 PM
Quote Post


John Freeman said
[*][*][*][*][*]
[*][*][*]

Group Icon
Group: Members
Posts: 8260
Member No.: 2900
Joined: 31-October 06

Status: (0d) [--]


QUOTE (Sgt. Teddy @ Jun 13 2007, 05:51 PM)
the error is:
At position 2:Symbol ) expected

I'm not quite sure what it is, but did you remember to close all the parentheses in whatever code came before that part? Maybe, in some part of the code before that, there's a ( before something but not a ) after it.


--------------------
user posted image

QUOTE (oh youtube trolls)
u guys r retarded hippocrates

QUOTE (Piemanthe3rd)
Pie is not random. I wish people would realize this.
PMEmail PosterUsers WebsiteAOLMSN
Top
United States
FailMan
Posted: Jun 13 2007, 05:07 PM
Quote Post


And I'd like to introduce you to the prime minister of engla
[*][*]

Group Icon
Group: Members
Posts: 650
Member No.: 3389
Joined: 2-March 07

Status: (0d) [--]


thats the only section of the code.


--------------------
Whatever.
PMEmail PosterAOL
Top
United States
Grant
Posted: Jun 13 2007, 05:09 PM
Quote Post


John Freeman said
[*][*][*][*][*]
[*][*][*]

Group Icon
Group: Members
Posts: 8260
Member No.: 2900
Joined: 31-October 06

Status: (0d) [--]


Oh, stupid me. I see what it is now.

Add a ) to the end of the first line.


--------------------
user posted image

QUOTE (oh youtube trolls)
u guys r retarded hippocrates

QUOTE (Piemanthe3rd)
Pie is not random. I wish people would realize this.
PMEmail PosterUsers WebsiteAOLMSN
Top
United States
FailMan
Posted: Jun 13 2007, 05:47 PM
Quote Post


And I'd like to introduce you to the prime minister of engla
[*][*]

Group Icon
Group: Members
Posts: 650
Member No.: 3389
Joined: 2-March 07

Status: (0d) [--]


Shi-The item wont spawn.


--------------------
Whatever.
PMEmail PosterAOL
Top
United States
FailMan
Posted: Jun 13 2007, 08:13 PM
Quote Post


And I'd like to introduce you to the prime minister of engla
[*][*]

Group Icon
Group: Members
Posts: 650
Member No.: 3389
Joined: 2-March 07

Status: (0d) [--]


bump becuase the item does not spawn.


--------------------
Whatever.
PMEmail PosterAOL
Top
United States
Noone
Posted: Jun 14 2007, 05:17 PM
Quote Post


You win the prize!!!
[*][*][*]

Group Icon
Group: Members
Posts: 511
Member No.: 3101
Joined: 23-December 06

Status: (0d) [--]


not sure if it's true but doesn't GM round decimals to the nearest hundreth?<SP


--------------------
user posted image
PMEmail PosterUsers WebsiteICQAOLYahooMSN
Top
United States
Grant
Posted: Jun 14 2007, 06:19 PM
Quote Post


John Freeman said
[*][*][*][*][*]
[*][*][*]

Group Icon
Group: Members
Posts: 8260
Member No.: 2900
Joined: 31-October 06

Status: (0d) [--]


You should add a semicolon ( ; ) to the very end. Maybe that's what's wrong, but I'm not sure.

EDIT: Also, I don't know if this has anything to do with it either, but you could check your spelling as well (is it really spelled like "apoclapse_shroom"?).

This post has been edited by Grant on Jun 14 2007, 06:21 PM


--------------------
user posted image

QUOTE (oh youtube trolls)
u guys r retarded hippocrates

QUOTE (Piemanthe3rd)
Pie is not random. I wish people would realize this.
PMEmail PosterUsers WebsiteAOLMSN
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

  Topic Options Topic Options Reply to this topicStart new topicStart Poll

 




[ Script Execution time: 0.0652 ]   [ 14 queries used ]   [ GZIP Enabled ]   [ Server Load: 0.40 ]