Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > Star Wolves

Star Wolves 3D space RPG with deep strategy and tactical elements

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #27  
Old 01-23-2015, 01:41 PM
Nanaki Nanaki is offline
Approved Member
 
Join Date: Mar 2010
Posts: 338
Default

The problem is that you need a small delay between selecting the ability and opening the dialogue window, otherwise it instantly CTDs. Here is a snippet of code from one of my pet projects.

Code:
function CommandConsole_1(x, y, z, ship, duration)
	setglobal("x", x);
	setglobal("y", y);
	setglobal("z", z);
	setglobal("ship", ship);
	Timer_Seq(0.1, SummonConsole);
end;

function SummonConsole()
	StartTradeDialog("DialogNC","SummonConsole_Init");
end;
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:42 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.