Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → I need a cog. I dont understand them, so this should be simple 4 u!
I need a cog. I dont understand them, so this should be simple 4 u!
2001-03-23, 7:30 AM #1
OK, Here is the easiest cog in the world i need.

End level when a sector is entered.

VERY simple. i just dont understand cog, so i was wondering if somebody here could make it.
The Situation:
The Sv_SetBrushModel: Null error has occurred in my map. This means that somewhere in my level, there is a paper-thin prush that needs to be deleted. There are 2888 brushes in my level. That's chances of 1/2888 of finding the correct brush. The statistics say I have a .035% chance of finding it.
Did I find it?
You bet I did.
2001-03-23, 7:54 AM #2
Code:
# End the level upon entering a sector
# Made by lordvader
symbols
thing   player     local
sector  room
message startup
message entered
end

code
startup:
player=GetLocalPlayerThing();

entered:
if(GetSenderRef()==room && GetSourceRef()==player)
   {
   jkEndLevel(1);
   }
end


[This message has been edited by lordvader (edited March 23, 2001).]
Capitalization
Commas
Periods
Question Marks
Apostrophes
Confusable Words
Plague Words
2001-03-24, 12:15 PM #3
Quesion: Would putting a different number in the jkEndLevel() function load another level? Can anyone explain how this works?

↑ Up to the top!