Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is that possible?
#11
(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
Reply

#12
(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.
Reply

#13
(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
Reply

#14
Whoever coded that obviously doesn't know about the while keyword. :p
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply

#15
(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
[Image: lxkf2.jpg]
Reply

#16
Do I need to replace all the for(;xxx;) to while (xxx), except the first for(;;) ?
Reply

#17
(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.
[Image: lxkf2.jpg]
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.