Thread: Stumped
View Single Post
  #17  
Old 01-23-2006, 05:17 PM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
Quote:
Originally Posted by RavenofEarth
That's not helping me, How do I set it when i leave that level. Do I have to put an NPC in every level outside of the worldmap_ that sets the gani's, but then wouldn't that interfere with NPC's? Isn't there a way that if (created || timeout) <insert the rest of that script above, then at the end some how impliment a "else -blah-"?
HTML Code:
if (created || playerenters) { // This event is triggered every time a player enters a level.
  if (startswith(worldmap_,#L)) {
    /* player has entered a level that begins with worldmap_ */
  }
  else {
    /* player has entered a level that does not begin with worldmap_ */
  }
}
The block of code within an else (after an if statement) will be executed if that if statement is false.
Reply With Quote