(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Hosted Projects > Reinventing the Craft > Miscellaneous

Miscellaneous A forum for a variety of functions where users may also request other features.

Reply
 
LinkBack Thread Tools Display Modes
Old 11-24-2007, 07:16 PM   #1 (permalink)
 
MindWorX's Avatar

Wulfy loves Nex!
 
Join Date: Aug 2004
Posts: 293

MindWorX has a spectacular aura about (122)MindWorX has a spectacular aura about (122)MindWorX has a spectacular aura about (122)MindWorX has a spectacular aura about (122)

PayPal Donor: This user has donated to The Hive. Hosted Project of the Year 2007: Reinventing the Craft 

CommonAI Imports

native GetUnitGoldCost takes integer unitid returns integer
native GetUnitWoodCost takes integer unitid returns integer
native GetUnitBuildTime takes integer unitid returns integer
native StartThread takes code func returns nothing

Tutorial: N/A
Download: N/A
Native Set Type: Single Player, Multi Player or WarSoc
Release: 0.10
Other: N/A
MindWorX is offline   Reply With Quote
Old 11-24-2007, 08:14 PM   #2 (permalink)
Model & Tutorial Moderator
 
Pyritie's Avatar

 
Join Date: Nov 2006
Posts: 7,328

Pyritie has much of which to be proud (1028)Pyritie has much of which to be proud (1028)Pyritie has much of which to be proud (1028)Pyritie has much of which to be proud (1028)Pyritie has much of which to be proud (1028)Pyritie has much of which to be proud (1028)Pyritie has much of which to be proud (1028)

Super Donor: This user has donated at least $100 to The Hive. Hero Contest #1 Winner: Slatie 

What does StartThread do/is for?
Pyritie is offline   Reply With Quote
Old 11-24-2007, 08:22 PM   #3 (permalink)
 
MindWorX's Avatar

Wulfy loves Nex!
 
Join Date: Aug 2004
Posts: 293

MindWorX has a spectacular aura about (122)MindWorX has a spectacular aura about (122)MindWorX has a spectacular aura about (122)MindWorX has a spectacular aura about (122)

PayPal Donor: This user has donated to The Hive. Hosted Project of the Year 2007: Reinventing the Craft 

StartThread runs a function without halting the current function. Normally a function calling another function, would wait until the other one is done.
__________________
"Wulfy loves Nex!"
MindWorX is offline   Reply With Quote
Old 11-24-2007, 08:39 PM   #4 (permalink)
Model & Tutorial Moderator
 
Pyritie's Avatar

 
Join Date: Nov 2006
Posts: 7,328

Pyritie has much of which to be proud (1028)Pyritie has much of which to be proud (1028)Pyritie has much of which to be proud (1028)Pyritie has much of which to be proud (1028)Pyritie has much of which to be proud (1028)Pyritie has much of which to be proud (1028)Pyritie has much of which to be proud (1028)

Super Donor: This user has donated at least $100 to The Hive. Hero Contest #1 Winner: Slatie 

Oh okay. Could be useful, I guess.
Pyritie is offline   Reply With Quote
Old 11-28-2007, 09:02 PM   #5 (permalink)

iRawr
 
Join Date: Dec 2005
Posts: 8,349

PurplePoot is a splendid one to behold (807)PurplePoot is a splendid one to behold (807)PurplePoot is a splendid one to behold (807)

Paired Mapping Contest #4 Winner: Fallen Angel - Lucifer's Keep Respected User: This user has been given the respected user award. Map Development Mini-Contest #1 Winner: Stand of the Elements 

So StartThread is basically ExecuteFunc with a code argument instead of a string?

How about getting Sleep?
PurplePoot is offline   Reply With Quote
Old 11-28-2007, 11:20 PM   #6 (permalink)
 
SFilip's Avatar

Jack of all trades
 
Join Date: Nov 2005
Posts: 291

SFilip has little to show at this moment (34)SFilip has little to show at this moment (34)SFilip has little to show at this moment (34)SFilip has little to show at this moment (34)


> So StartThread is basically ExecuteFunc with a code argument instead of a string?
Yes, but according to some testing it didn't really work (caused a crash).
SFilip is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No-imports Terrain Rui Terrain Board 4 06-18-2007 03:35 PM
Yet another problem with imports Bettaxx World Editor Help Zone 2 05-25-2007 09:59 AM
Imports don't work brad.dude03 World Editor Help Zone 7 12-14-2006 11:57 AM
What converts or imports to .mdx? MyglyMP2 Modeling & Animation 5 02-17-2005 10:58 PM
Imports Kerazugnal Modeling & Animation 0 12-04-2004 12:58 AM

All times are GMT. The time now is 09:11 AM.






Your link here 
Secured Loans | Debt Consolidation | Online Loans | Free Advertising | Watch Anime Online
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle