Q about detect scripts in spring

Q about detect scripts in spring

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
bobthedinosaur
Blood & Steel Developer
Posts: 2702
Joined: 25 Aug 2004, 13:31

Q about detect scripts in spring

Post by bobthedinosaur »

quick question:
using the get unitid height function to identify the specific unit type in spring, can you use the s3o height you set in upsrping or do you have to use the measuring tool that z made?

thanks its been awhile
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

You can use the s3o radius (note: not the height!). It's multiplied by 65536.
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Post by Peet »

KDR_11k wrote:You can use the s3o radius (note: not the height!). It's multiplied by 65536.
Oh hell, that explains a bit.
Post Reply

Return to “Game Development”