Thread: Warps Array?
View Single Post
  #1  
Old 01-02-2002, 04:15 AM
Faheria_GP2 Faheria_GP2 is offline
Banned
Faheria_GP2's Avatar
Join Date: Oct 2001
Posts: 1,177
Faheria_GP2 is on a distinguished road
Warps Array?

okay, maybe something like a warps array would be a good idea. This way, all the warps in the level could be accessed by NPCs. Maybe some variables like

Warpscount - Count of all the warps in the level
Warps[index].x - The x value of the warp
Warps[index].y - The y value of the warp
Warps[index].width - The width of the warp
Warps[index].height - The height of the warp
Warps[index].desx - The X-destination of the warp
Warps[index].desy - The Y-destination of the warp

And maybe a message code like

#d(index) - The destination level of the warp with (index)

Okay, post your ideas/comments/flames below
Reply With Quote