ItsMods

Full Version: Is that possible?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(07-09-2012, 14:15)TheRaZ Wrote: [ -> ]
(07-09-2012, 13:56)Yamato Wrote: [ -> ]entity.origin = self gettagorigin("tag_eye")+end;

Same result as the default "entity.origin = (self gettagorigin("tag_eye")+end);"

Basically because is the same Big Grin
(07-09-2012, 14:50)Yamato Wrote: [ -> ]Basically because is the same Big Grin

Not fully, because in yours there isn't ( ) Big Grin

Have any other ide to make it work for an object and for player together? (not same time, just pick up or a object or player with the same key)

A new question also here: is there any tool to get the specified model name when I am aiming on it?
I mean when I am aiming on a sentry then the mod will print to my screen:
This is a "sentry_minigun" model.
(07-09-2012, 17:24)TheRaZ Wrote: [ -> ]
(07-09-2012, 14:50)Yamato Wrote: [ -> ]Basically because is the same Big Grin

Not fully, because in yours there isn't ( ) Big Grin

Have any other ide to make it work for an object and for player together? (not same time, just pick up or a object or player with the same key)

A new question also here: is there any tool to get the specified model name when I am aiming on it?
I mean when I am aiming on a sentry then the mod will print to my screen:
This is a "sentry_minigun" model.

That forge mod code I gave before worked for me sometime ago Tongue
Whoever coded that obviously doesn't know about the while keyword. :p
(07-10-2012, 02:02)master131 Wrote: [ -> ]Whoever coded that obviously doesn't know about the while keyword. :p

Had the same thought.
Code:
for(;!self useButtonPressed() && isDefined(entity);)
just looks strange and
Code:
while (!self useButtonPressed() && isDefined(entity))
seems to be more self-explanatory to me. Wink
Do I need to replace all the for(;xxx;) to while (xxx), except the first for(;;) ?
(07-10-2012, 07:33)TheRaZ Wrote: [ -> ]Do I need to replace all the for(;xxxWink to while (xxx), except the first for(;Wink ?

Of course not. Its just a cosmetical thing.
Pages: 1 2