Search found 4 matches

by kim00000
13 Jun 2012, 15:46
Forum: Modding forum
Topic: Doors
Replies: 4
Views: 8961

Doors

Hello Guys...
I want to make a door in a multi-player map that opens only for players who have 10,000 points or more, but I have some problems...

Here's what I tried:

// Door Data
DOOR_DATA sg_door = SINGLE (11, 5, 2) (11.0, 6.0, 2.0, 1.0, 1.0)
BOTTOM 0 ANY_PLAYER CLOSE_WHEN_OPEN_RULE_FAILS 0 NOT ...
by kim00000
11 Jun 2012, 18:15
Forum: Modding forum
Topic: Multi-Scripts
Replies: 4
Views: 8261

Re: Multi-Scripts

Oh! I forgot the parentheses. Sorry :)
by kim00000
11 Jun 2012, 18:11
Forum: Modding forum
Topic: Multi-Scripts
Replies: 4
Views: 8261

Re: Multi-Scripts

The error message is as follows:

Syntax Error: unrecognized token in scriptfile
Current token = 'LAUNCH_MISSION' on line X



// gangs.mis
...
IF((IS_CHAR_IN_ZONE(Pa, SendGang)) AND (ganga_created = 0))
IF(CHECK_SCORE_GREATER(Pa, 9999))
ADD_SCORE(Pa, -10000)
LAUNCH_MISSION callgang
// Where ...
by kim00000
11 Jun 2012, 15:32
Forum: Modding forum
Topic: Multi-Scripts
Replies: 4
Views: 8261

Multi-Scripts

Hey Guys...
I'm making a map and the script file is called "gangs.mis", and to make the code more readable I wanted to put some functionality in separate script files. So I made a folder and called it "gangs" (like the main script) and made a new script file inside that folder called gangs_callgang ...