IceMan, have you tried putting a display command inside the conditionals to see if the function is even run? Have you defined the LEFT and MODE_USEINV values yourself somewhere? Otherwise, you could try inserting eMouseLeft and eModeUseInv instead.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menufuction repeatedly_execute {
if ((npcname.x - player.x)*(npcname.x - player.x)+(npcname.y - player.y)*(npcname.y - player.y) < 25) { //25 is the squared value of the wanted distance, here I chose 5 pixels
npcname.Say("You're dead meat, player");
}
}
QuoteMinimum: 1.7 GHz Processor, 512MB RAM, DirectX 8 level Graphics Card, Windows Vista/XP/2000, Mouse, Keyboard, Internet Connection
Recommended: Pentium 4 processor (3.0GHz, or better), 1GB RAM, DirectX 9 level Graphics Card, Windows Vista/XP/2000, Mouse, Keyboard, Internet Connection
Quote from: Pumaman on Sun 10/06/2007 18:24:35* Added DynamicSprite.CopyTransparencyMask
* Added extra parameter to DynamicSprite.CreateFromExistingSprite to allow you to specify whether the alpha channel is copied or not
* Added COLOR_TRANSPARENT option to DrawingSurface.DrawingColor property to allow you to draw transparent areas onto the image
Quote from: WackyWildCard on Mon 01/10/2007 02:56:26How long did everyone take to learn Scripting? Curious I am.
Quote from: Snarky on Thu 04/10/2007 01:42:26Why give developers the ability to, for example, stop players from running 320x240 games in 640x480 mode? That's not a bonus, it's a guaranteed future headache. Save winsetup.exe!
QuoteAs far as I can tell, the ability to change settings seems to be used mostly to make games that wouldn't otherwise run do so, and in cases where the developer sends out the game with some incorrect default configurations. But apparently, this failsafe keeps some people up at night.
QuotePerhaps what is really required is some proper CJ-authored documentation of the file format in the Help file or elsewhere...
Quote from: Pumaman on Wed 03/10/2007 18:44:33You don't need to detect anything, just provide the same options to the player that the current Setup does.
Quote from: Pumaman on Tue 02/10/2007 19:21:05You can always write your own Setup program in visual basic or something and have it write the acsetup.cfg file as appropriate.
QuoteYou have to run it on the acwin.exe file before you compile the game; if you try to run it on the compiled exe file it won't work.
Quote from: subspark on Mon 01/10/2007 23:03:54Not that I like to take apart CJ's lovely design of the winsetup, but I beleive ResHacker is the only way to do this right now.
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.943 seconds with 20 queries.