by yttermayn » Tue Jan 22, 2008 4:44 am
Actor *actor = CreateActor(...
Dosn't the above have to go into a global code area? That's the only place I've been able to get a string declaration to work. If that's the case, it's no good - the createactor() is executed by another created actor's "create actor" event script, which won't let me use the line as shown above. Maybe I should just say what I'm doing and ask how you would do it:
My view -> draw actor script at some point creates a zombie actor. The new zombie actor creates a text actor to display hit points above its head in the zombie -> create actor script.
What is the easiest way to do this? Maybe I've just been looking at it all wrong...