![]() |
TProjectile
Set a bullet speed?
player.level.projectiles[player.level.projectiles.size()].speed = 1; Doesn't work.. TProjectile How does this work ? |
player.level.projectiles[player.level.projectiles.size()]
wouldn't work anyways as that doesn't exist. An array with a size of 1 is only gonna have index 0, same as an array with size 2 is only gonna have 0 and 1. You want: player.level.projectiles[player.level.projectiles.size() - 1] Though I'm pretty sure almost all TProjectile variables are read-only. |
As Zero said, you can't edit the projectile object :( Would be cool to edit it though.. instead of making a new one to reflect a projectile we could just alter the angle variable..
|
Quote:
|
Quote:
|
Maybe if you could set the speed at the start?
|
UNCALLED FOR! Who would ever think we'd want our projectiles flying at speeds we personally desired! UNHEARD OF.
|
Sorry for reviving an old thread, but it's my own thread and I didn't want to create a new one, so.. If you log on to Ol' West on their news message it says that bullets have been slowed down, so how did they do it?
|
Quote:
|
Not all of them are read-only. You can set the zoom of them :)
|
All times are GMT +2. The time now is 09:51 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.