Live nade spawn?
Moderator: Moderators
Live nade spawn?
How do i spawn a live nade? i have an anim i'd rather have an AI use to throw his nade around a corner, and i need to make a nade actually throw.
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
so spawn a grenade with velocity etc and tell it
???
Code: Select all
$grenade anim explodeModerator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
Projectile class entities have an 'explode' method. Therefore:
They also explode if you simply remove or delete them.
Code: Select all
$grenade explodewouldnt of thought they explode when u remove them:S..odd. maybe cos their life ran out.
yeah. the nades dont have any anims :S.
So ?blah explode would make it explode. Dont know it would lok the same though, and in the past it doesnt remove the entity just makes it go bang.
first ai_event grenade 384?
anyway why cant u just make the AI chuck it themselves? u ccud make custom anims chuck a nade.
yeah. the nades dont have any anims :S.
So ?blah explode would make it explode. Dont know it would lok the same though, and in the past it doesnt remove the entity just makes it go bang.
first ai_event grenade 384?
anyway why cant u just make the AI chuck it themselves? u ccud make custom anims chuck a nade.
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:
Because the try_throw_grenade.scr only supports the standing toss, not the around hte corner toss i need. so i'm just doing it myself.anyway why cant u just make the AI chuck it themselves? u ccud make custom anims chuck a nade.
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
- Contact:

